summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-01-24 22:17:41 +0100
committerChristian Pointner <equinox@spreadspace.org>2021-01-24 22:17:41 +0100
commitae7ac1f56252b92e2466b5840b6c04cc353bf569 (patch)
tree045db727aa62fce8c8b2c0b14fc62447e11f1ff5 /common
parentupgrade ch-router (diff)
reboot new machines at the end of install playbooks
Diffstat (limited to 'common')
-rw-r--r--common/cloud-install.yml8
-rw-r--r--common/iso-install.yml8
-rw-r--r--common/usb-install.yml8
-rw-r--r--common/vm-install.yml8
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