task re-order and re-name

This commit is contained in:
Chris Hammer 2024-07-03 10:10:47 -04:00
parent ca371f94c3
commit 942afbf205

View File

@ -6,7 +6,7 @@
strategy: free strategy: free
tasks: tasks:
- name: Enable filesystem check prior to performing disk activities - name: Enable filesystem check prior to Bigboot execution
ansible.builtin.import_role: ansible.builtin.import_role:
name: autofsck name: autofsck
tasks_from: main.yml tasks_from: main.yml
@ -16,9 +16,17 @@
- name: Flush handlers - name: Flush handlers
ansible.builtin.meta: flush_handlers ansible.builtin.meta: flush_handlers
# Make sure to update the reboot code for the WF environment
- name: Reboot to run filesystem check - name: Reboot to run filesystem check
ansible.builtin.reboot: ansible.builtin.reboot:
- name: Disable filesystem check prior to Bigboot execution
ansible.builtin.import_role:
name: autofsck
tasks_from: cleanup.yml
when:
- (bigboot_execute_shrink_lv | bool or bigboot_execute_bigboot | bool)
- name: Extend the timeout values for physical hosts - name: Extend the timeout values for physical hosts
ansible.builtin.set_fact: ansible.builtin.set_fact:
initramfs_post_reboot_delay: 300 initramfs_post_reboot_delay: 300
@ -42,11 +50,4 @@
when: when:
- bigboot_execute_bigboot | bool - bigboot_execute_bigboot | bool
- name: Remove filesystem check from Grub
ansible.builtin.import_role:
name: autofsck
tasks_from: cleanup.yml
when:
- (bigboot_execute_shrink_lv | bool or bigboot_execute_bigboot | bool)
... ...