summaryrefslogtreecommitdiff
path: root/common/vm-install.yml
diff options
context:
space:
mode:
Diffstat (limited to 'common/vm-install.yml')
-rw-r--r--common/vm-install.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/common/vm-install.yml b/common/vm-install.yml
index d449926e..7aaf32fc 100644
--- a/common/vm-install.yml
+++ b/common/vm-install.yml
@@ -58,14 +58,6 @@
- role: vm/guest
when: install_distro in ['debian', 'ubuntu']
-- name: run host playbook
- vars:
- params:
- files:
- - "../{{ install_environment }}/{{ install_hostname }}.yml"
- - "../{{ install_environment }}/{{ install_playbook | default('common') }}.yml"
- import_playbook: "{{ q('first_found', params) | first }}"
-
- name: reboot and wait for VM come back
hosts: "{{ install_hostname }}"
gather_facts: no
@@ -73,3 +65,11 @@
- role: reboot-and-wait
reboot_delay: 10
reboot_timeout: 120
+
+- name: run host playbook
+ vars:
+ params:
+ files:
+ - "../{{ install_environment }}/{{ install_hostname }}.yml"
+ - "../{{ install_environment }}/{{ install_playbook | default('common') }}.yml"
+ import_playbook: "{{ q('first_found', params) | first }}"