--- # 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 | bool notify: [ 'Restart VDR' ]