From ae7ac1f56252b92e2466b5840b6c04cc353bf569 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 24 Jan 2021 22:17:41 +0100 Subject: reboot new machines at the end of install playbooks --- common/vm-install.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common/vm-install.yml') diff --git a/common/vm-install.yml b/common/vm-install.yml index f89ab6ba..552c07f7 100644 --- a/common/vm-install.yml +++ b/common/vm-install.yml @@ -72,3 +72,11 @@ - "../{{ install_environment }}/{{ install_hostname }}.yml" - "../{{ install_environment }}/{{ install_playbook | default('common') }}.yml" import_playbook: "{{ q('first_found', params) | first }}" + + +- name: reboot machine + hosts: "{{ install_hostname }}" + roles: + - role: reboot-and-wait + reboot_delay: 10 + reboot_timeout: 120 -- cgit v1.2.3