summaryrefslogtreecommitdiff
path: root/common/vm-install.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-26 23:50:38 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-26 23:50:38 +0200
commitacc437083cfa7b8f77b8e79af2a0c05bd871e198 (patch)
tree576360023addac147bef43f1ba340c61e3c9fe5b /common/vm-install.yml
parentremove nextcloud test instance (diff)
parentcleanup old configs and playbooks (diff)
Merge branch 'topic/zfs-buster-backports'
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 }}"