Let yavdr-remote always install eventlircd, activate lircd for vdr
This commit is contained in:
parent
b6dfc4e737
commit
8133f7e786
14
Manual.org
14
Manual.org
@ -925,15 +925,11 @@ install_avahi: true
|
|||||||
apt:
|
apt:
|
||||||
name: eventlircd
|
name: eventlircd
|
||||||
state: present
|
state: present
|
||||||
when:
|
|
||||||
install_eventlircd is defined and install_eventlircd
|
|
||||||
|
|
||||||
- name: apt | install lirc
|
- name: apt | install lirc
|
||||||
apt:
|
apt:
|
||||||
name: lircd
|
name: lircd
|
||||||
state: present
|
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)
|
- name: stop, mask and disable lircd.socket and lircd.service # (the default lirc configuration conflicts with eventlircd)
|
||||||
systemd:
|
systemd:
|
||||||
@ -946,6 +942,12 @@ install_avahi: true
|
|||||||
- lircd.socket
|
- lircd.socket
|
||||||
ignore_errors: yes
|
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
|
# TODO: upload lircd2uinput package to PPA
|
||||||
#- name: install lircd2uinput
|
#- name: install lircd2uinput
|
||||||
# tag: install
|
# tag: install
|
||||||
@ -956,6 +958,10 @@ install_avahi: true
|
|||||||
# install_eventlircd is defined and install_eventlircd
|
# install_eventlircd is defined and install_eventlircd
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** templates
|
*** templates
|
||||||
|
#+BEGIN_SRC :tangle roles/yavdr-remote/templates/03-vdr-lircd.conf.j2 :mkdirp yes :padline no
|
||||||
|
[vdr]
|
||||||
|
--lirc=/var/run/lirc/lircd
|
||||||
|
#+END_SRC
|
||||||
*** files
|
*** files
|
||||||
|
|
||||||
** pulseaudio
|
** pulseaudio
|
||||||
|
@ -31,7 +31,6 @@ vdr_plugins:
|
|||||||
- vdr-plugin-markad
|
- vdr-plugin-markad
|
||||||
- vdr-plugin-restfulapi
|
- vdr-plugin-restfulapi
|
||||||
- vdr-plugin-softhddevice-vpp
|
- vdr-plugin-softhddevice-vpp
|
||||||
|
|
||||||
# dictionary of directories for (shared) files. Automatically exported via NFS and Samba if those roles are enabled
|
# dictionary of directories for (shared) files. Automatically exported via NFS and Samba if those roles are enabled
|
||||||
media_dirs:
|
media_dirs:
|
||||||
audio: /srv/audio
|
audio: /srv/audio
|
||||||
|
@ -10,15 +10,11 @@
|
|||||||
apt:
|
apt:
|
||||||
name: eventlircd
|
name: eventlircd
|
||||||
state: present
|
state: present
|
||||||
when:
|
|
||||||
install_eventlircd is defined and install_eventlircd
|
|
||||||
|
|
||||||
- name: apt | install lirc
|
- name: apt | install lirc
|
||||||
apt:
|
apt:
|
||||||
name: lircd
|
name: lircd
|
||||||
state: present
|
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)
|
- name: stop, mask and disable lircd.socket and lircd.service # (the default lirc configuration conflicts with eventlircd)
|
||||||
systemd:
|
systemd:
|
||||||
@ -31,6 +27,12 @@
|
|||||||
- lircd.socket
|
- lircd.socket
|
||||||
ignore_errors: yes
|
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
|
# TODO: upload lircd2uinput package to PPA
|
||||||
#- name: install lircd2uinput
|
#- name: install lircd2uinput
|
||||||
# tag: install
|
# tag: install
|
||||||
|
Loading…
Reference in New Issue
Block a user