ref(acpi): Spin out acpi role
This commit is contained in:
parent
dc78da4d03
commit
d168115f81
3 changed files with 10 additions and 7 deletions
|
@ -21,6 +21,8 @@
|
||||||
roles:
|
roles:
|
||||||
- role: base
|
- role: base
|
||||||
tags: base
|
tags: base
|
||||||
|
- role: acpi
|
||||||
|
tags: acpi
|
||||||
- role: user
|
- role: user
|
||||||
tags: user
|
tags: user
|
||||||
- role: network
|
- role: network
|
||||||
|
|
7
roles/acpi/tasks/main.yaml
Normal file
7
roles/acpi/tasks/main.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
- name: Activate acpid service
|
||||||
|
ansible.builtin.file:
|
||||||
|
src: "/etc/sv/acpid"
|
||||||
|
dest: "/etc/runit/runsvdir/default/acpid"
|
||||||
|
state: link
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Prefer booster to dracut so make sure to never install it
|
# Prefer booster to dracut so make sure to never install it
|
||||||
- name: Ignore dracut
|
- name: Ignore dracut
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
|
@ -91,13 +92,6 @@
|
||||||
state: link
|
state: link
|
||||||
tags: chrony
|
tags: chrony
|
||||||
|
|
||||||
- name: Activate acpid service
|
|
||||||
ansible.builtin.file:
|
|
||||||
src: "/etc/sv/acpid"
|
|
||||||
dest: "/etc/runit/runsvdir/default/acpid"
|
|
||||||
state: link
|
|
||||||
tags: acpid
|
|
||||||
|
|
||||||
- name: Set up snooze as cron daemon
|
- name: Set up snooze as cron daemon
|
||||||
tags:
|
tags:
|
||||||
- cron
|
- cron
|
||||||
|
|
Loading…
Reference in a new issue