Fix ansible-lint E305 (#6459)

This commit is contained in:
Maxime Guyot
2020-07-28 10:39:08 +02:00
committed by GitHub
parent 8bd3b50e31
commit 214e08f8c9
22 changed files with 59 additions and 61 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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