All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 14s
13 lines
367 B
YAML
13 lines
367 B
YAML
---
|
|
- name: Append cgroupsv1 boot option
|
|
ansible.builtin.lineinfile:
|
|
path: /etc/default/grub
|
|
regexp: '^(GRUB_CMDLINE_LINUX_DEFAULT)="(.*)"$'
|
|
line: '\1="\2 SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 systemd.unified_cgroup_hierarchy=0"'
|
|
backrefs: true
|
|
notify:
|
|
- GRUB mkconfig
|
|
- Reboot
|
|
- name: Flush handlers
|
|
ansible.builtin.meta: flush_handlers
|