add role to install pvrinput for some cards

This commit is contained in:
Alexander Grothe 2017-07-30 23:33:22 +02:00
parent e9cc0fec54
commit 338da033ca
2 changed files with 37 additions and 0 deletions

View File

@ -3145,6 +3145,18 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-satip
- '"0070:4000" in pci' - '"0070:4000" in pci'
notify: [ 'Restart VDR' ] notify: [ 'Restart VDR' ]
#+END_SRC #+END_SRC
** autoinstall-hauppauge-pvr
#+BEGIN_SRC yaml :tangle roles/autoinstall-hauppauge-pvr/tasks/main.yml :padline no
---
# file roles/autoinstall-hauppauge-pvr/tasks/main.yml
- name: apt | install vdr-plugin-pvrinput if a haupauge pvr card is found
apt:
name: vdr-plugin-pvrinput
when:
- '"0070:4000" in pci'
- '"4444:0016" in pci'
notify: [ 'Restart VDR' ]
** TODO autoinstall-dvbhddevice ** TODO autoinstall-dvbhddevice
Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware sollte in yavdr-firmware stecken Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware sollte in yavdr-firmware stecken

View File

@ -0,0 +1,25 @@
---
# file roles/autoinstall-hauppauge-pvr/tasks/main.yml
- name: apt | install vdr-plugin-pvrinput if a haupauge pvr card is found
apt:
name: vdr-plugin-pvrinput
when:
- '"0070:4000" in pci'
- '"4444:0016" in pci'
notify: [ 'Restart VDR' ]
** TODO autoinstall-dvbhddevice
Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware sollte in yavdr-firmware stecken
*** tasks
#+BEGIN_SRC yaml :tangle roles/autoinstall-dvbhddevice/tasks/main.yml :padline no
---
# file roles/autoinstall-dvbhddevice/tasks/main.yml
- name: apt | install vdr-plugin-dvbhddevice if connected
apt:
name: vdr-plugin-dvbhddevice
when:
- '"13c2:300a" in pci'
- '"13c2:300b" in pci'
notify: [ 'Restart VDR' ]