17 lines
352 B
YAML
17 lines
352 B
YAML
---
|
|
# file roles/autoinstall-satip/tasks/main.yml
|
|
|
|
- name: "detect SAT>IP Server(s) on the network"
|
|
action: satip_facts
|
|
|
|
- debug:
|
|
var: satip_devices
|
|
verbosity: 1
|
|
|
|
- name: apt | install vdr-plugin-satip if a Sat>IP server has been detected
|
|
apt:
|
|
name: vdr-plugin-satip
|
|
state: present
|
|
when: satip_devices
|
|
notify: [ 'Restart VDR' ]
|