summaryrefslogtreecommitdiff
path: root/chaos-at-home/vm-install.yml
blob: dddfe279038468c8b6a29fe9405df26a816d9bab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
- name: cook variables for guest
  hosts: "{{ install_hostname }}"
  gather_facts: no
  tasks:
  - set_fact:
      install_cooked: "{{ install }}"
      network_cooked: "{{ network }}"

- 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