Fix Docker service management; relocate Grub fsck
This commit is contained in:
20
tasks/grub_filesystem_check.yml
Normal file
20
tasks/grub_filesystem_check.yml
Normal 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
|
Reference in New Issue
Block a user