create extra role for wakeup configuration

This commit is contained in:
Alexander Grothe
2017-11-20 09:45:15 +01:00
parent 052b46ee34
commit 9060429ba6
10 changed files with 476 additions and 379 deletions

View File

@@ -0,0 +1,15 @@
---
# 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"