From 21b4669113bd68317d0dd4492245de5775d2a857 Mon Sep 17 00:00:00 2001 From: "Patrick T. Rutledge III" Date: Wed, 13 Nov 2024 10:46:56 -0600 Subject: [PATCH] update reboot wait time in common (#8817) * update reboot wait time in common * update reboot timeout too * fix all reboots --------- Co-authored-by: rut31337 --- ansible/roles/common/tasks/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ansible/roles/common/tasks/main.yml b/ansible/roles/common/tasks/main.yml index 1ea259569e3..a59e4188cd2 100644 --- a/ansible/roles/common/tasks/main.yml +++ b/ansible/roles/common/tasks/main.yml @@ -43,8 +43,8 @@ - name: Reboot all VMs reboot: msg: "RHEL updates installing. Rebooting now." - reboot_timeout: 60 - connect_timeout: 5 + reboot_timeout: 300 + connect_timeout: 300 pre_reboot_delay: 10 post_reboot_delay: 30 ignore_unreachable: true @@ -56,8 +56,8 @@ - name: Reboot the VMs again if the first attempt has failed reboot: msg: "RHEL updates installing. Rebooting now." - reboot_timeout: 60 - connect_timeout: 5 + reboot_timeout: 300 + connect_timeout: 300 pre_reboot_delay: 10 post_reboot_delay: 30 when: r_reboot is not succeeded @@ -141,6 +141,7 @@ block: - name: Reboot VMs ansible.builtin.reboot: + reboot_timeout: 300 connect_timeout: 300 msg: "Updates installed. Rebooting now." pre_reboot_delay: 60