yavdr-ansible/roles/wakeup/tasks/main.yml
2017-11-20 09:45:15 +01:00

16 lines
345 B
YAML

---
# file roles/wakeup/tasks/main.yml
- name: install and configure vdr-addon-acpiwakeup
block:
- apt:
name: vdr-addon-acpiwakeup
state: present
- lineinfile:
path: /etc/vdr/vdr-addon-acpiwakeup.conf
regexp: '^ACPI_ENABLED='
line: 'ACPI_ENABLED=true'
when: wakeup_method == "acpiwakeup"