Fix "api is up" check (#7295)
Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
(cherry picked from commit 662a37ab4f
)
This commit is contained in:
parent
c7658c0256
commit
3292887cae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue