summaryrefslogtreecommitdiff
path: root/spreadspace
diff options
context:
space:
mode:
Diffstat (limited to 'spreadspace')
-rw-r--r--spreadspace/cloud-install.yml2
-rw-r--r--spreadspace/usb-install.yml2
-rw-r--r--spreadspace/vm-install.yml10
3 files changed, 11 insertions, 3 deletions
diff --git a/spreadspace/cloud-install.yml b/spreadspace/cloud-install.yml
index 167cf458..31c757a1 100644
--- a/spreadspace/cloud-install.yml
+++ b/spreadspace/cloud-install.yml
@@ -1,5 +1,5 @@
---
-- name: setup variables
+- name: cook variables for host
hosts: "{{ install_hostname }}"
gather_facts: no
tasks:
diff --git a/spreadspace/usb-install.yml b/spreadspace/usb-install.yml
index ab455ff7..04bf2594 100644
--- a/spreadspace/usb-install.yml
+++ b/spreadspace/usb-install.yml
@@ -1,5 +1,5 @@
---
-- name: setup variables
+- name: cook variables for host
hosts: "{{ install_hostname }}"
gather_facts: no
tasks:
diff --git a/spreadspace/vm-install.yml b/spreadspace/vm-install.yml
index 405e14db..4d42946f 100644
--- a/spreadspace/vm-install.yml
+++ b/spreadspace/vm-install.yml
@@ -1,10 +1,18 @@
---
-- name: setup variables
+- name: cook variables for guest
hosts: "{{ install_hostname }}"
gather_facts: no
tasks:
- set_fact:
install_cooked: "{{ install }}"
network_cooked: "{{ network }}"
+ vm_host_cooked: "{{ vm_host }}"
+
+- name: cook variables for host
+ hosts: "{{ hostvars[install_hostname].vm_host }}"
+ gather_facts: no
+ tasks:
+ - set_fact:
+ vm_host_cooked: "{{ vm_host }}"
- import_playbook: ../common/vm-install.yml