This is necessary for the vm/network configuration to take effect
before running the host playbook (which may expect network interfaces
to be configured and up)
- role: vm/network
- role: vm/guest
-- import_playbook: "host_playbooks/{{ hostname }}.yml"
-
- name: reboot and wait for VM come back
hosts: "{{ hostname }}"
gather_facts: no
- role: reboot-and-wait
reboot_delay: 10
reboot_timeout: 120
+
+- import_playbook: "host_playbooks/{{ hostname }}.yml"