Testing fallback functionality; Updates
This commit is contained in:
@ -14,7 +14,7 @@
|
|||||||
- name: Reboot the host [reboot module]
|
- name: Reboot the host [reboot module]
|
||||||
ansible.builtin.reboot:
|
ansible.builtin.reboot:
|
||||||
msg: "{{ verified_reboot_reboot_msg }}"
|
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 }}"
|
connect_timeout: "{{ verified_reboot_wait_conn_timeout }}"
|
||||||
reboot_timeout: "{{ verified_reboot_wait_delay }}"
|
reboot_timeout: "{{ verified_reboot_wait_delay }}"
|
||||||
rescue:
|
rescue:
|
||||||
@ -22,5 +22,6 @@
|
|||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: "/usr/sbin/shutdown -r +{{ verified_reboot_reboot_time }} '{{ verified_reboot_reboot_msg }}'"
|
cmd: "/usr/sbin/shutdown -r +{{ verified_reboot_reboot_time }} '{{ verified_reboot_reboot_msg }}'"
|
||||||
|
|
||||||
- name: Verify reboot status of host
|
always:
|
||||||
|
- name: Verify reboot status of host
|
||||||
ansible.builtin.include_tasks: check_boot_id.yml
|
ansible.builtin.include_tasks: check_boot_id.yml
|
||||||
|
Reference in New Issue
Block a user