summaryrefslogtreecommitdiff
path: root/spreadspace/vm-install.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-11-21 03:42:54 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-11-21 03:42:54 +0100
commit8828d4e11c28da88d65e45014431361aabb0c3d5 (patch)
tree759456a48196e108cf35bab4f1c6a774e8c20170 /spreadspace/vm-install.yml
parentadd some vmhost test machines (diff)
use delegation for vm/guest install and define
Diffstat (limited to 'spreadspace/vm-install.yml')
-rw-r--r--spreadspace/vm-install.yml9
1 files changed, 1 insertions, 8 deletions
diff --git a/spreadspace/vm-install.yml b/spreadspace/vm-install.yml
index b6a69b67..7d8e7320 100644
--- a/spreadspace/vm-install.yml
+++ b/spreadspace/vm-install.yml
@@ -1,5 +1,5 @@
---
-- name: cook variables for guest
+- name: cook variables for host
hosts: "{{ install_hostname }}"
gather_facts: no
tasks:
@@ -8,11 +8,4 @@
network_cooked: "{{ network }}"
vm_host_cooked: "{{ vm_host }}"
-- name: cook variables for host
- hosts: "{{ hostvars[install_hostname].vm_host.name }}"
- gather_facts: no
- tasks:
- - set_fact:
- vm_host_cooked: "{{ vm_host }}"
-
- import_playbook: ../common/vm-install.yml