Skip to content

Commit

Permalink
update reboot wait time in common (#8817)
Browse files Browse the repository at this point in the history
* update reboot wait time in common

* update reboot timeout too

* fix all reboots

---------

Co-authored-by: rut31337 <rut31337@gmail.com>
  • Loading branch information
rut31337 and rut31337 authored Nov 13, 2024
1 parent 787221f commit 21b4669
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ansible/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 21b4669

Please sign in to comment.