add vdr restart handler to autoinstall roles, move satip detection
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
---
|
||||
# file roles/autoinstall-satip/tasks/main.yml
|
||||
|
||||
- name: "detect SAT>IP Server(s) on the network"
|
||||
action: satip_facts
|
||||
|
||||
- debug:
|
||||
var: satip_detected
|
||||
verbosity: 1
|
||||
|
||||
- name: apt | install vdr-plugin-satip if a Sat>IP server has been detected
|
||||
apt:
|
||||
name: vdr-plugin-satip
|
||||
when: satip_detected
|
||||
notify: [ 'Restart VDR' ]
|
||||
|
||||
Reference in New Issue
Block a user