This commit is contained in:
2026-09-17 00:36:31 +02:00
parent 8efcc9eac6
commit 6e5b63a3ad
13 changed files with 320 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
---
- name: Install ACPI wakeup shutdown script
ansible.builtin.template:
src: disable-acpi-wakeup.sh.j2
dest: "{{ acpi_wakeup_script_path }}"
owner: root
group: root
mode: "0755"
- name: Install ACPI wakeup systemd service
ansible.builtin.template:
src: disable-acpi-wakeup.service.j2
dest: "/etc/systemd/system/{{ acpi_wakeup_service_name }}"
owner: root
group: root
mode: "0644"
notify:
- Reload systemd
- Restart ACPI wakeup service
- name: Enable ACPI wakeup shutdown service
ansible.builtin.systemd:
name: "{{ acpi_wakeup_service_name }}"
enabled: true
state: started
daemon_reload: true