Move local fact scripts to modules

This commit is contained in:
Alexander Grothe
2017-03-03 10:39:59 +01:00
parent 1dc6f1c00b
commit d6647e1613
12 changed files with 481 additions and 252 deletions

View File

@@ -1,12 +1,7 @@
---
# file roles/autoinstall-satip/tasks/main.yml
- name: Display all variables/facts known for a host
debug:
var: ansible_local
verbosity: 1
- name: apt | install vdr-plugin-satip if a Sat>IP server has been detected
apt:
name: vdr-plugin-satip
when: ansible_local.satip.satip_detected
when: satip_detected