task re-naming and flush_handlers

This commit is contained in:
Chris Hammer 2024-07-01 19:41:29 -04:00
parent cced58c1b7
commit 83c97fe5b4

View File

@ -6,13 +6,16 @@
strategy: free strategy: free
tasks: tasks:
- name: Run a filesystem check prior to performing disk activities - name: Enable filesystem check prior to performing disk activities
ansible.builtin.import_role: ansible.builtin.import_role:
name: autofsck name: autofsck
tasks_from: main.yml tasks_from: main.yml
when: when:
- (bigboot_execute_shrink_lv | bool or bigboot_execute_bigboot | bool) - (bigboot_execute_shrink_lv | bool or bigboot_execute_bigboot | bool)
- name: Flush handlers
ansible.builtin.meta: flush_handlers
- 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
@ -36,7 +39,7 @@
when: when:
- bigboot_execute_bigboot | bool - bigboot_execute_bigboot | bool
- name: Cleanup Grub menu parameters for fsck - name: Remove filesystem check from Grub
ansible.builtin.import_role: ansible.builtin.import_role:
name: autofsck name: autofsck
tasks_from: cleanup.yml tasks_from: cleanup.yml