add vdr restart handler to autoinstall roles, move satip detection

This commit is contained in:
Alexander Grothe
2017-03-13 19:34:54 +01:00
parent 634a1cd59c
commit dc757482a3
9 changed files with 31 additions and 29 deletions

View File

@@ -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' ]