dotfiles-ansible/roles/system/tasks/acpi/acpid.yml
Hoang Nguyen 922733dcde
Merge sysconfig repo
The other repo is not large enough to be standalone, so include it here
as a single role.

More changes:
- Update onedark pallete (https://github.com/Binaryify/OneDark-Pro/blob/master/src/themes/data/oneDarkPro.ts)
- Fix ansible-lint warnings
2024-02-16 00:00:00 +07:00

23 lines
520 B
YAML

---
- name: acpid | Install acpid and acpi-utils
community.general.apk:
name: acpid, acpi-utils
state: present
- name: acpid | Copy acpid event handler script
copy:
src: acpi/handler.sh
dest: /etc/acpi/handler.sh
mode: '755'
owner: root
group: root
- name: acpid | Use process supervisor for acpid service
lineinfile:
path: /etc/conf.d/acpid
search_string: supervisor=
line: supervisor="supervise-daemon"
state: present
owner: root
group: root
mode: '644'