Fix Docker service management; relocate Grub fsck

This commit is contained in:
2024-07-31 11:53:25 -04:00
parent 0b11597038
commit e53e97cf9a
5 changed files with 52 additions and 23 deletions

View File

@ -0,0 +1,20 @@
---
- name: Enable Grub filesystem check
ansible.builtin.import_role:
name: autofsck
tasks_from: main.yml
- name: Flush handlers
ansible.builtin.meta: flush_handlers
# Make sure to update the reboot code for the WF environment
- name: Reboot to run filesystem checks
ansible.builtin.reboot:
- name: Disable Grub filesystem check
ansible.builtin.import_role:
name: autofsck
tasks_from: cleanup.yml
- name: Flush handlers
ansible.builtin.meta: flush_handlers