mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-16 13:57:41 -02:30
ansible-lint: don't compare to empty string [E602] (#4665)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f518b90c6b
commit
88d919337e
@@ -15,4 +15,4 @@
|
||||
changed_when: no
|
||||
- name: Disable swap
|
||||
command: /sbin/swapoff -a
|
||||
when: swapon.stdout != ""
|
||||
when: swapon.stdout
|
||||
|
||||
@@ -146,7 +146,7 @@
|
||||
when:
|
||||
- kube_network_plugin == 'calico'
|
||||
- 'calico_version_on_server.stdout is defined'
|
||||
- 'calico_version_on_server.stdout != ""'
|
||||
- calico_version_on_server.stdout
|
||||
- inventory_hostname == groups['kube-master'][0]
|
||||
run_once: yes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user