mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Fix ansible-lint E305 (#6459)
This commit is contained in:
@@ -34,9 +34,8 @@
|
||||
tags:
|
||||
- facts
|
||||
|
||||
- name: disable unified_cgroup_hierarchy in Fedora 31+ # noqa 305
|
||||
shell:
|
||||
cmd: grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
|
||||
- name: disable unified_cgroup_hierarchy in Fedora 31+
|
||||
command: grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
|
||||
when:
|
||||
- ansible_distribution == "Fedora"
|
||||
- (ansible_distribution_major_version | int) >= 31
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
group: no
|
||||
delegate_to: "{{ inventory_hostname }}"
|
||||
|
||||
- name: Get crictl completion # noqa 305
|
||||
shell: "{{ bin_dir }}/crictl completion"
|
||||
- name: Get crictl completion
|
||||
command: "{{ bin_dir }}/crictl completion"
|
||||
changed_when: False
|
||||
register: cri_completion
|
||||
|
||||
|
||||
@@ -47,9 +47,8 @@
|
||||
tags:
|
||||
- facts
|
||||
|
||||
- name: disable unified_cgroup_hierarchy in Fedora 31+ # noqa 305
|
||||
shell:
|
||||
cmd: grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
|
||||
- name: disable unified_cgroup_hierarchy in Fedora 31+
|
||||
command: grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
|
||||
when:
|
||||
- ansible_distribution == "Fedora"
|
||||
- (ansible_distribution_major_version | int) >= 31
|
||||
|
||||
Reference in New Issue
Block a user