yavdr-ansible/roles/wakeup/tasks/main.yml
Alexander Grothe 74159df8ac Fix value
2017-11-20 11:09:48 +01:00

16 lines
346 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="yes"'
when: wakeup_method == "acpiwakeup"