Move to using verified_reboot to manage reboots for Bigboot; infra.lvm_snapshots is local for testing this
This commit is contained in:
@ -11,15 +11,19 @@
|
||||
# - name: Reboot to run filesystem checks
|
||||
# ansible.builtin.reboot:
|
||||
|
||||
- name: Reboot to run filesystem checks
|
||||
ansible.builtin.command: /sbin/shutdown -r +1
|
||||
# - name: Reboot to run filesystem checks
|
||||
# ansible.builtin.command: /sbin/shutdown -r +1
|
||||
|
||||
- name: Wait for the reboot to complete
|
||||
ansible.builtin.wait_for_connection:
|
||||
connect_timeout: 20
|
||||
sleep: 10
|
||||
delay: "{{ bigboot_post_reboot_delay | default('70') }}"
|
||||
timeout: "{{ bigboot_reboot_timeout | default('1800') }}"
|
||||
# - name: Wait for the reboot to complete
|
||||
# ansible.builtin.wait_for_connection:
|
||||
# connect_timeout: 20
|
||||
# sleep: 10
|
||||
# delay: "{{ bigboot_post_reboot_delay | default('70') }}"
|
||||
# timeout: "{{ bigboot_reboot_timeout | default('1800') }}"
|
||||
|
||||
- name: Reboot host to run filesystem checks
|
||||
ansible.builtin.import_role:
|
||||
name: verified_reboot
|
||||
|
||||
- name: Disable Grub filesystem check
|
||||
ansible.builtin.import_role:
|
||||
|
Reference in New Issue
Block a user