yavdr-ansible/roles/autoinstall-atric-usb/tasks/main.yml

25 lines
546 B
YAML
Raw Normal View History

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