add autofsck role
This commit is contained in:
@ -6,6 +6,13 @@
|
|||||||
strategy: free
|
strategy: free
|
||||||
|
|
||||||
tasks:
|
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
|
- 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
|
||||||
@ -26,6 +33,14 @@
|
|||||||
- name: Expand the /boot partition as requested
|
- name: Expand the /boot partition as requested
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: infra.lvm_snapshots.bigboot
|
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)
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
roles:
|
||||||
|
- name: autofsck
|
||||||
|
src: gitea@gitea.thezengarden.net:ansible_roles/autofsck.git
|
||||||
|
scm: git
|
||||||
|
version: main
|
||||||
|
|
||||||
collections:
|
collections:
|
||||||
# - name: infra.lvm_snapshots.shrink_lv
|
# - name: infra.lvm_snapshots.shrink_lv
|
||||||
# source: https://github.com/redhat-cop/infra.lvm_snapshots.git
|
# source: https://github.com/redhat-cop/infra.lvm_snapshots.git
|
||||||
|
Reference in New Issue
Block a user