8 lines
235 B
YAML
8 lines
235 B
YAML
---
|
|
- name: Cleanup /etc/default/grub to remove fsck
|
|
ansible.builtin.replace:
|
|
path: /etc/default/grub
|
|
regexp: '(GRUB_CMDLINE_LINUX=".*)\s+(fsck\.mode=force)\s+(fsck.repair=yes)(.*")'
|
|
replace: '\1\4'
|
|
notify: Update_Grub
|