ref(acpi): Spin out acpi role

This commit is contained in:
Marty Oehme 2025-03-13 10:43:35 +01:00
parent dc78da4d03
commit d168115f81
Signed by: Marty
GPG key ID: 4E535BC19C61886E
3 changed files with 10 additions and 7 deletions
play.yaml
roles
acpi/tasks
base/tasks

View file

@ -21,6 +21,8 @@
roles:
- role: base
tags: base
- role: acpi
tags: acpi
- role: user
tags: user
- role: network

View file

@ -0,0 +1,7 @@
---
- name: Activate acpid service
ansible.builtin.file:
src: "/etc/sv/acpid"
dest: "/etc/runit/runsvdir/default/acpid"
state: link

View file

@ -1,3 +1,4 @@
---
# Prefer booster to dracut so make sure to never install it
- name: Ignore dracut
ansible.builtin.lineinfile:
@ -91,13 +92,6 @@
state: link
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
tags:
- cron