Fix "api is up" check (#7295)
Signed-off-by: Etienne Champetier <e.champetier@ateme.com>pull/7308/head
parent
42947c9840
commit
662a37ab4f
|
@ -3,7 +3,7 @@
|
||||||
uri:
|
uri:
|
||||||
url: "https://{{ ip | default(fallback_ips[inventory_hostname]) }}:{{ kube_apiserver_port }}/healthz"
|
url: "https://{{ ip | default(fallback_ips[inventory_hostname]) }}:{{ kube_apiserver_port }}/healthz"
|
||||||
validate_certs: false
|
validate_certs: false
|
||||||
when: inventory_hostname == groups['kube-master']
|
when: inventory_hostname in groups['kube-master']
|
||||||
register: _result
|
register: _result
|
||||||
retries: 60
|
retries: 60
|
||||||
delay: 5
|
delay: 5
|
||||||
|
|
Loading…
Reference in New Issue