Add retries to api servers response
This commit is contained in:
parent
9c51ac5157
commit
ff5e487e32
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue