2 - name: preperations and sanity checks
6 - name: setup variables
8 vm_network_cooked: "{{ vm_network }}"
9 vm_install_cooked: "{{ vm_install }}"
10 - name: create temporary host group for vm host
12 name: "{{ vm_install.host }}"
13 inventory_dir: "{{inventory_dir}}"
15 # TODO: add some sanity checks
17 - name: basic installation
22 - name: wait for new vm to start up
26 ## TODO: find a better way to fetch host key of new VMs
27 - name: disable ssh StrictHostKeyChecking for the next step
29 ansible_ssh_extra_args: -o StrictHostKeyChecking=no
30 - name: wait for vm to start up
34 - name: reenable StrictHostKeyChecking
36 ansible_ssh_extra_args: ""
38 - import_playbook: "host_playbooks/{{ vmname }}.yml"
40 - name: reboot and wait for VM come back
44 - role: reboot-and-wait