mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2026-03-11 23:32:12 +01:00
Fix cgroups cmdline path
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Activating cgroup support
|
||||
lineinfile:
|
||||
path: /boot/cmdline.txt
|
||||
path: /boot/firmware/cmdline.txt
|
||||
regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$'
|
||||
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
||||
backrefs: true
|
||||
|
||||
Reference in New Issue
Block a user