mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-08 11:07:43 +03:00
ansible-lint: don't compare to empty string [E602] (#4665)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f518b90c6b
commit
88d919337e
@@ -2,7 +2,7 @@
|
||||
- name: check vsphere environment variables
|
||||
fail:
|
||||
msg: "{{ item.name }} is missing"
|
||||
when: item.value is not defined or item.value == ''
|
||||
when: item.value is not defined or not item.value
|
||||
with_items:
|
||||
- name: vsphere_vcenter_ip
|
||||
value: "{{ vsphere_vcenter_ip }}"
|
||||
|
||||
Reference in New Issue
Block a user