2017-11-20 09:45:15 +01:00
|
|
|
---
|
|
|
|
# file roles/wakeup/tasks/main.yml
|
|
|
|
|
|
|
|
- name: install and configure vdr-addon-acpiwakeup
|
2017-11-20 11:54:11 +01:00
|
|
|
apt:
|
|
|
|
name: vdr-addon-acpiwakeup
|
|
|
|
state: present
|
2017-11-20 09:45:15 +01:00
|
|
|
when: wakeup_method == "acpiwakeup"
|
2017-11-20 11:54:11 +01:00
|
|
|
|
|
|
|
- name: expand template for /etc/vdr/vdr-addon-acpiwakeup.conf
|
|
|
|
template:
|
2017-11-20 12:01:02 +01:00
|
|
|
src: templates/vdr-addon-acpiwakeup.conf.j2
|
2017-11-20 11:54:11 +01:00
|
|
|
dest: /etc/vdr/vdr-addon-acpiwakeup.conf
|