2017-03-02 16:01:52 +01:00
|
|
|
---
|
|
|
|
# file roles/autoinstall-satip/tasks/main.yml
|
|
|
|
|
2017-03-13 19:34:54 +01:00
|
|
|
- name: "detect SAT>IP Server(s) on the network"
|
|
|
|
action: satip_facts
|
|
|
|
|
|
|
|
- debug:
|
2017-09-04 12:29:53 +02:00
|
|
|
var: satip_devices
|
2017-03-13 19:34:54 +01:00
|
|
|
verbosity: 1
|
|
|
|
|
2017-03-02 16:01:52 +01:00
|
|
|
- name: apt | install vdr-plugin-satip if a Sat>IP server has been detected
|
|
|
|
apt:
|
|
|
|
name: vdr-plugin-satip
|
2017-11-20 09:45:15 +01:00
|
|
|
state: present
|
2017-09-04 12:29:53 +02:00
|
|
|
when: satip_devices
|
2017-03-13 19:34:54 +01:00
|
|
|
notify: [ 'Restart VDR' ]
|