summaryrefslogtreecommitdiff
path: root/common/cloud-install.yml
diff options
context:
space:
mode:
Diffstat (limited to 'common/cloud-install.yml')
-rw-r--r--common/cloud-install.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/common/cloud-install.yml b/common/cloud-install.yml
index e21d4bf1..414cabd1 100644
--- a/common/cloud-install.yml
+++ b/common/cloud-install.yml
@@ -29,14 +29,6 @@
roles:
- role: cloud/post-install
-- 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 machine come back
hosts: "{{ install_hostname }}"
gather_facts: no
@@ -44,3 +36,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 }}"