summaryrefslogtreecommitdiff
path: root/dan/vm-install.yml
blob: cf19d04615cba2d895348c909830876e87c9ffe7 (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].install.vm.host }}"
  gather_facts: no
  tasks:
  - set_fact:
      vm_host_cooked: "{{ vm_host }}"

- import_playbook: ../common/vm-install.yml