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/usb-install.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common/usb-install.yml') diff --git a/common/usb-install.yml b/common/usb-install.yml index 4ef69039..2346b18e 100644 --- a/common/usb-install.yml +++ b/common/usb-install.yml @@ -70,3 +70,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