10 lines
574 B
YAML
10 lines
574 B
YAML
---
|
|
- name: Enable cgroup via boot commandline if not already enabled
|
|
ansible.builtin.lineinfile:
|
|
path: /boot/boot.txt
|
|
# yamllint disable-line rule:line-length
|
|
search_string: setenv bootargs console=ttyS1,115200 console=tty0 root=PARTUUID=${uuid} rw rootwait smsc95xx.macaddr="${usbethaddr}"
|
|
# yamllint disable-line rule:line-length
|
|
line: setenv bootargs console=ttyS1,115200 console=tty0 root=PARTUUID=${uuid} rw rootwait smsc95xx.macaddr="${usbethaddr}" cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory
|
|
notify: Regenerate bootloader image
|