summaryrefslogtreecommitdiff
path: root/vminstall.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vminstall.yaml')
-rw-r--r--vminstall.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/vminstall.yaml b/vminstall.yaml
index 7fbba705..6fe1e524 100644
--- a/vminstall.yaml
+++ b/vminstall.yaml
@@ -1,12 +1,12 @@
---
-### TODO: this doesn't seem to work... but we need some infos from
-### the VM Host...
-# - name: Gather facts of vm host
-# hosts: "{{ hostvars[vmname].vm_install.host }}"
-
- name: Basic Installation
hosts: "{{ vmname }}"
gather_facts: no
+ pre_tasks:
+ - name: Gather facts of vm host
+ setup:
+ delegate_to: "{{ vm_install.host }}"
+ delegate_facts: yes
roles:
- role: vm-install