Fix "api is up" check (#7295)

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
pull/7308/head
Etienne Champetier 2021-02-19 12:12:25 -05:00 committed by GitHub
parent 42947c9840
commit 662a37ab4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
uri:
url: "https://{{ ip | default(fallback_ips[inventory_hostname]) }}:{{ kube_apiserver_port }}/healthz"
validate_certs: false
when: inventory_hostname == groups['kube-master']
when: inventory_hostname in groups['kube-master']
register: _result
retries: 60
delay: 5