Update satip_facts.py, fix syntax for hardware autoinstall checks
This commit is contained in:
@@ -4,7 +4,5 @@
|
||||
- name: apt | install vdr-plugin-dvbhddevice if connected
|
||||
apt:
|
||||
name: vdr-plugin-dvbhddevice
|
||||
when:
|
||||
- '"13c2:300a" in pci'
|
||||
- '"13c2:300b" in pci'
|
||||
when: '"13c2:300a" in pci or "13c2:300b" in pci'
|
||||
notify: [ 'Restart VDR' ]
|
||||
|
||||
@@ -4,6 +4,5 @@
|
||||
- name: apt | install vdr-plugin-dvbsddevice if module is loaded
|
||||
apt:
|
||||
name: vdr-plugin-dvbsddevice
|
||||
when:
|
||||
- '"dvb_ttpci" in modules'
|
||||
when: '"dvb_ttpci" in modules'
|
||||
notify: [ 'Restart VDR' ]
|
||||
|
||||
@@ -4,7 +4,5 @@
|
||||
- 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
|
||||
when: '"0070:4000" in pci or "4444:0016" in pci'
|
||||
notify: [ 'Restart VDR' ]
|
||||
|
||||
@@ -4,7 +4,5 @@
|
||||
- name: apt | install vdr-plugin-imonlcd if connected
|
||||
apt:
|
||||
name: vdr-plugin-imonlcd
|
||||
when:
|
||||
- "15c2:0038" in usb
|
||||
- "15c2:ffdc" in usb
|
||||
when: '"15c2:0038" in usb or "15c2:ffdc" in usb'
|
||||
notify: [ 'Restart VDR' ]
|
||||
|
||||
@@ -4,6 +4,5 @@
|
||||
- name: apt | install vdr-plugin-pvr350 if connected
|
||||
apt:
|
||||
name: vdr-plugin-pvr350
|
||||
when:
|
||||
- "0070:4000" in pci
|
||||
when: '"0070:4000" in pci'
|
||||
notify: [ 'Restart VDR' ]
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
action: satip_facts
|
||||
|
||||
- debug:
|
||||
var: satip_detected
|
||||
var: satip_devices
|
||||
verbosity: 1
|
||||
|
||||
- name: apt | install vdr-plugin-satip if a Sat>IP server has been detected
|
||||
apt:
|
||||
name: vdr-plugin-satip
|
||||
when: satip_detected
|
||||
when: satip_devices
|
||||
notify: [ 'Restart VDR' ]
|
||||
|
||||
@@ -4,6 +4,5 @@
|
||||
- name: apt | install vdr-plugin-targavfd if connected
|
||||
apt:
|
||||
name: vdr-plugin-targavfd
|
||||
when:
|
||||
- "19c2:6a11" in usb
|
||||
when: '"19c2:6a11" in usb'
|
||||
notify: [ 'Restart VDR' ]
|
||||
|
||||
Reference in New Issue
Block a user