Add retries to api servers response
parent
9c51ac5157
commit
ff5e487e32
|
@ -8,6 +8,9 @@
|
||||||
validate_certs: no
|
validate_certs: no
|
||||||
status_code: 200
|
status_code: 200
|
||||||
register: apiserver_response
|
register: apiserver_response
|
||||||
|
retries: 12
|
||||||
|
delay: 5
|
||||||
|
until: apiserver_response is success
|
||||||
|
|
||||||
- debug: # noqa unnamed-task
|
- debug: # noqa unnamed-task
|
||||||
msg: "{{ apiserver_response.json }}"
|
msg: "{{ apiserver_response.json }}"
|
||||||
|
|
Loading…
Reference in New Issue