add autofsck role

This commit is contained in:
2024-07-01 15:04:15 -04:00
parent 9fd5280683
commit c321faf4c5
2 changed files with 22 additions and 1 deletions

View File

@ -6,6 +6,13 @@
strategy: free
tasks:
- name: Run a filesystem check prior to performing disk activities
ansible.builtin.import_role:
name: autofsck
tasks_from: main.yml
when:
- (bigboot_execute_shrink_lv | bool or bigboot_execute_bigboot | bool)
- name: Extend the timeout values for physical hosts
ansible.builtin.set_fact:
initramfs_post_reboot_delay: 300
@ -26,6 +33,14 @@
- name: Expand the /boot partition as requested
ansible.builtin.import_role:
name: infra.lvm_snapshots.bigboot
when: bigboot_execute_bigboot | bool
when:
- bigboot_execute_bigboot | bool
- name: Cleanup Grub menu parameters for fsck
ansible.builtin.import_role:
name: autofsck
tasks_from: cleanup.yml
when:
- (bigboot_execute_shrink_lv | bool or bigboot_execute_bigboot | bool)
...