mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2026-10-23 03:22:03 +02:00
support for CentOS on the Raspberry Pi added
This commit is contained in:
1 parent
98473e2b09
commit
d2b420588e
1 file changed
+8
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
- name: Enable cgroup via boot commandline if not already enabled for Centos
|
||||||
|
lineinfile:
|
||||||
|
path: /boot/cmdline.txt
|
||||||
|
backrefs: yes
|
||||||
|
regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$'
|
||||||
|
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
||||||
|
notify: reboot
|
||||||
Reference in new issue
Block a user