better functionality
This commit is contained in:
parent
80a6c3d42a
commit
73fb9ac976
@ -2,8 +2,9 @@
|
||||
verified_reboot_reboot_time: 1 # Time in minutes issued to the shutdown command
|
||||
verified_reboot_reboot_msg: '*** ANSIBLE INITIATED REBOOT ***'
|
||||
verified_reboot_bootid_file: /proc/sys/kernel/random/boot_id
|
||||
|
||||
# Maximum number of times to check for a successful reboot
|
||||
verified_reboot_max_checks: 10
|
||||
verified_reboot_check_count: 0
|
||||
|
||||
# Maximum number of seconds to wait for a connection to happen before closing and retrying.
|
||||
verified_reboot_wait_conn_timeout: 20
|
||||
|
@ -7,6 +7,7 @@
|
||||
- name: Set pre-reboot boot ID
|
||||
ansible.builtin.set_fact:
|
||||
verified_reboot_pre_boot_id: "{{ verified_reboot_pre_boot_id_raw['content'] | b64decode | trim }}"
|
||||
verified_reboot_check_count: 0
|
||||
|
||||
- name: Reboot the host
|
||||
ansible.builtin.command:
|
||||
|
Loading…
x
Reference in New Issue
Block a user