mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
reformat yaml
This commit is contained in:
parent
68458a239e
commit
fbe31fc290
1 changed files with 32 additions and 10 deletions
|
|
@ -2,43 +2,65 @@
|
|||
- include_tasks: tlp.yml
|
||||
|
||||
- name: Copy touchpad configuration file
|
||||
copy: src=30-touchpad.conf dest=/etc/X11/xorg.conf.d/30-touchpad.conf
|
||||
copy:
|
||||
src: 30-touchpad.conf
|
||||
dest: /etc/X11/xorg.conf.d/30-touchpad.conf
|
||||
tags:
|
||||
- libinput
|
||||
|
||||
- name: Copy logind configuration file
|
||||
copy: src=logind.conf dest=/etc/systemd/logind.conf
|
||||
copy:
|
||||
src: logind.conf
|
||||
dest: /etc/systemd/logind.conf
|
||||
|
||||
- name: Push low battery warning script
|
||||
copy: src=lowbatt.sh dest=/usr/local/bin/lowbatt mode=0755
|
||||
copy:
|
||||
src: lowbatt.sh
|
||||
dest: /usr/local/bin/lowbatt
|
||||
mode: 0755
|
||||
|
||||
- name: Push low battery warning service file
|
||||
template: src=lowbatt.service.j2 dest=/etc/systemd/system/lowbatt.service
|
||||
template:
|
||||
src: lowbatt.service.j2
|
||||
dest: /etc/systemd/system/lowbatt.service
|
||||
notify:
|
||||
- reload systemd config
|
||||
|
||||
- name: Push low battery timer file
|
||||
template: src=lowbatt.timer.j2 dest=/etc/systemd/system/lowbatt.timer
|
||||
template:
|
||||
src: lowbatt.timer.j2
|
||||
dest: /etc/systemd/system/lowbatt.timer
|
||||
notify:
|
||||
- reload systemd config
|
||||
- restart lowbatt
|
||||
|
||||
- name: Enable and start lowbatt timer
|
||||
service: name=lowbatt.timer enabled=yes state=started
|
||||
service:
|
||||
name: lowbatt.timer
|
||||
enabled: yes
|
||||
state: started
|
||||
|
||||
- name: Install brightnessctl
|
||||
pacman: name=brightnessctl state=present
|
||||
pacman:
|
||||
name: brightnessctl
|
||||
state: present
|
||||
|
||||
- name: Install powertop
|
||||
pacman: name=powertop state=present
|
||||
pacman:
|
||||
name: powertop
|
||||
state: present
|
||||
|
||||
- name: Install powerstat
|
||||
aur: name=powerstat user={{ user.name }}
|
||||
aur:
|
||||
name: powerstat
|
||||
user: "{{ user.name }}"
|
||||
tags:
|
||||
- aur
|
||||
|
||||
- name: Install cmake for battery-stats
|
||||
pacman: name=cmake state=present
|
||||
pacman:
|
||||
name: cmake
|
||||
state: present
|
||||
|
||||
- name: Install battery-stats
|
||||
aur:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue