Testing fallback functionality; Updates

This commit is contained in:
2025-08-05 01:08:42 -04:00
parent 16f8bdd07d
commit f831e3a0cb

View File

@ -14,7 +14,7 @@
- name: Reboot the host [reboot module]
ansible.builtin.reboot:
msg: "{{ verified_reboot_reboot_msg }}"
pre_reboot_delay: "{{ verified_reboot_reboot_time }}"
pre_reboot_delay: "{{ verified_reboot_reboot_time + 'm' | community.general.to_seconds }}"
connect_timeout: "{{ verified_reboot_wait_conn_timeout }}"
reboot_timeout: "{{ verified_reboot_wait_delay }}"
rescue:
@ -22,5 +22,6 @@
ansible.builtin.command:
cmd: "/usr/sbin/shutdown -r +{{ verified_reboot_reboot_time }} '{{ verified_reboot_reboot_msg }}'"
always:
- name: Verify reboot status of host
ansible.builtin.include_tasks: check_boot_id.yml