diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-01-24 22:17:41 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-01-24 22:17:41 +0100 |
commit | ae7ac1f56252b92e2466b5840b6c04cc353bf569 (patch) | |
tree | 045db727aa62fce8c8b2c0b14fc62447e11f1ff5 /common/usb-install.yml | |
parent | upgrade ch-router (diff) |
reboot new machines at the end of install playbooks
Diffstat (limited to 'common/usb-install.yml')
-rw-r--r-- | common/usb-install.yml | 8 |
1 files changed, 8 insertions, 0 deletions
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 |