16 lines
346 B
YAML
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"
|