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 | |
parent | upgrade ch-router (diff) |
reboot new machines at the end of install playbooks
-rw-r--r-- | common/cloud-install.yml | 8 | ||||
-rw-r--r-- | common/iso-install.yml | 8 | ||||
-rw-r--r-- | common/usb-install.yml | 8 | ||||
-rw-r--r-- | common/vm-install.yml | 8 |
4 files changed, 32 insertions, 0 deletions
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 diff --git a/common/iso-install.yml b/common/iso-install.yml index dea08b3a..0946aa10 100644 --- a/common/iso-install.yml +++ b/common/iso-install.yml @@ -80,3 +80,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 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 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 |