mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-25 10:12:38 +01:00
fix(ci): Fix Linting (#61)
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
name: k3s-init
|
||||
state: stopped
|
||||
failed_when: false
|
||||
when: not ansible_check_mode
|
||||
|
||||
- name: Copy K3s service file
|
||||
register: k3s_service
|
||||
|
||||
@@ -6,3 +6,4 @@
|
||||
regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$'
|
||||
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
||||
notify: reboot
|
||||
when: not ansible_check_mode
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$'
|
||||
line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory'
|
||||
notify: reboot
|
||||
when: not ansible_check_mode
|
||||
|
||||
- name: Install linux-modules-extra-raspi
|
||||
apt: name=linux-modules-extra-raspi state=present
|
||||
when: raspberry_pi
|
||||
when: (raspberry_pi) and (not ansible_check_mode)
|
||||
|
||||
Reference in New Issue
Block a user