mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2026-10-23 03:22:03 +02:00
Apply noqa and fix line lenght limit. ansible-lint production profile (#326)
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
1 parent
7ec16a8d53
commit
ddc664a7f6
8 files changed
+27
-25
No files matched your search
@@ -2,8 +2,7 @@
|
||||
- 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
|
||||
regexp: '^(setenv bootargs console=ttyS1,115200 console=tty0 root=PARTUUID=\${uuid} rw rootwait smsc95xx.macaddr="\${usbethaddr}")'
|
||||
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
||||
backrefs: true
|
||||
notify: Regenerate bootloader image
|
||||
Reference in new issue
Block a user