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/cloud-install.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common/cloud-install.yml') diff --git a/common/cloud-install.yml b/common/cloud-install.yml index 38523bb0..506ad2bc 100644 --- a/common/cloud-install.yml +++ b/common/cloud-install.yml @@ -50,3 +50,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