diff --git a/Manual.org b/Manual.org index ae0a0d3..8b27943 100644 --- a/Manual.org +++ b/Manual.org @@ -3553,17 +3553,17 @@ dependencies: state: present - name: write lirc configuration - template: - src: templates/lircd_options.conf.j2 - dest: /etc/lirc/lircd_options.conf + template: + src: templates/lircd_options.conf.j2 + dest: /etc/lirc/lircd_options.conf - name: enable lircd - systemd: - name: lircd.service - enabled: yes - state: started - masked: no - daemon_reload: yes + systemd: + name: lircd.service + enabled: yes + state: started + masked: no + daemon_reload: yes when: '"04d8:f844" in usb' #+END_SRC diff --git a/roles/autoinstall-atric-usb/tasks/main.yml b/roles/autoinstall-atric-usb/tasks/main.yml index 2c09ecc..583cc43 100644 --- a/roles/autoinstall-atric-usb/tasks/main.yml +++ b/roles/autoinstall-atric-usb/tasks/main.yml @@ -9,16 +9,16 @@ state: present - name: write lirc configuration - template: - src: templates/lircd_options.conf.j2 - dest: /etc/lirc/lircd_options.conf + template: + src: templates/lircd_options.conf.j2 + dest: /etc/lirc/lircd_options.conf - name: enable lircd - systemd: - name: lircd.service - enabled: yes - state: started - masked: no - daemon_reload: yes + systemd: + name: lircd.service + enabled: yes + state: started + masked: no + daemon_reload: yes when: '"04d8:f844" in usb'