yavdr-ansible/roles/autoinstall-atric-usb/tasks/main.yml
2018-01-01 23:02:40 +01:00

25 lines
546 B
YAML

---
# file roles/autoinstall-atric-usb/tasks/main.yml
- name: install and configure Atric IR-WakeupUSB
block:
- name: apt | install lirc-drv-irman
apt:
name: lirc-drv-irman
state: present
- name: write lirc configuration
template:
src: templates/lirc_options.conf.j2
dest: /etc/lirc/lirc_options.conf
- name: enable lircd
systemd:
name: lircd.service
enabled: yes
state: started
masked: no
daemon_reload: yes
when: '"04d8:f844" in usb'