Let yavdr-remote always install eventlircd, activate lircd for vdr
This commit is contained in:
@@ -10,15 +10,11 @@
|
||||
apt:
|
||||
name: eventlircd
|
||||
state: present
|
||||
when:
|
||||
install_eventlircd is defined and install_eventlircd
|
||||
|
||||
- name: apt | install lirc
|
||||
apt:
|
||||
name: lircd
|
||||
state: present
|
||||
when:
|
||||
- install_lircd is defined and install_lircd
|
||||
|
||||
- name: stop, mask and disable lircd.socket and lircd.service # (the default lirc configuration conflicts with eventlircd)
|
||||
systemd:
|
||||
@@ -31,6 +27,12 @@
|
||||
- lircd.socket
|
||||
ignore_errors: yes
|
||||
|
||||
- name: configure vdr to read from a lircd-compatible socket
|
||||
template:
|
||||
src: templates/03-vdr-lirc.conf.j2
|
||||
dest: /etc/vdr/conf.d/03-vdr-lirc.conf
|
||||
notify: notify: ['Restart VDR']
|
||||
|
||||
# TODO: upload lircd2uinput package to PPA
|
||||
#- name: install lircd2uinput
|
||||
# tag: install
|
||||
|
||||
Reference in New Issue
Block a user