mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-18 11:40:10 -03:30
ansible-lint: Don’t compare to literal True/False (#4499)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d4b9f15c0a
commit
37eac010c8
@@ -18,12 +18,18 @@
|
||||
- kubelet
|
||||
|
||||
- import_tasks: nginx-proxy.yml
|
||||
when: is_kube_master == false and loadbalancer_apiserver_localhost and loadbalancer_apiserver_type == 'nginx'
|
||||
when:
|
||||
- not is_kube_master
|
||||
- loadbalancer_apiserver_localhost
|
||||
- loadbalancer_apiserver_type == 'nginx'
|
||||
tags:
|
||||
- nginx
|
||||
|
||||
- import_tasks: haproxy.yml
|
||||
when: is_kube_master == false and loadbalancer_apiserver_localhost and loadbalancer_apiserver_type == 'haproxy'
|
||||
when:
|
||||
- not is_kube_master
|
||||
- loadbalancer_apiserver_localhost
|
||||
- loadbalancer_apiserver_type == 'haproxy'
|
||||
tags:
|
||||
- haproxy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user