Fix: aws
All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 14s

This commit is contained in:
2024-12-20 22:34:05 +08:00
parent c5e237b9ff
commit c014a0b76e
17 changed files with 199 additions and 68 deletions

View File

@@ -0,0 +1,12 @@
---
- 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