Skip to content
Snippets Groups Projects
Unverified Commit 214e08f8 authored by Maxime Guyot's avatar Maxime Guyot Committed by GitHub
Browse files

Fix ansible-lint E305 (#6459)

parent 8bd3b50e
No related branches found
No related tags found
No related merge requests found
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
netchecker_port: 31081 netchecker_port: 31081
tasks: tasks:
- name: Flannel | Disable tx and rx offloading on VXLAN interfaces (see https://github.com/coreos/flannel/pull/1282) # noqa 305 - name: Flannel | Disable tx and rx offloading on VXLAN interfaces (see https://github.com/coreos/flannel/pull/1282)
shell: "ethtool --offload flannel.1 rx off tx off" command: "ethtool --offload flannel.1 rx off tx off"
ignore_errors: true ignore_errors: true
when: when:
- kube_network_plugin|default('calico') == 'flannel' - kube_network_plugin|default('calico') == 'flannel'
...@@ -214,8 +214,8 @@ ...@@ -214,8 +214,8 @@
- inventory_hostname == groups['kube-master'][0] - inventory_hostname == groups['kube-master'][0]
- kube_network_plugin_multus|default(false)|bool - kube_network_plugin_multus|default(false)|bool
- name: Check secondary macvlan interface # noqa 305 - name: Check secondary macvlan interface
shell: "{{ bin_dir }}/kubectl exec samplepod -- ip addr show dev net1" command: "{{ bin_dir }}/kubectl exec samplepod -- ip addr show dev net1"
register: output register: output
until: output.rc == 0 until: output.rc == 0
retries: 90 retries: 90
......
--- ---
- name: Generate dump folder # noqa 305 - name: Generate dump folder
shell: "{{ bin_dir }}/kubectl cluster-info dump --all-namespaces --output-directory /tmp/cluster-dump" command: "{{ bin_dir }}/kubectl cluster-info dump --all-namespaces --output-directory /tmp/cluster-dump"
no_log: true no_log: true
when: inventory_hostname in groups['kube-master'] when: inventory_hostname in groups['kube-master']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment