Fix retry of netchecker status
Change-Id: I8e7dace4e7c5ad8330c0f67745dab77482603d1d
This commit is contained in:
parent
3490a01dbf
commit
06666a2277
|
@ -44,7 +44,9 @@
|
||||||
become: no
|
become: no
|
||||||
|
|
||||||
- name: Check netchecker status
|
- name: Check netchecker status
|
||||||
uri: url=http://localhost:31081/api/v1/connectivity_check status_code=200
|
uri: url=http://localhost:31081/api/v1/connectivity_check
|
||||||
|
register: netchecker_status
|
||||||
|
until: netchecker_status.status == 200
|
||||||
retries: 6
|
retries: 6
|
||||||
delay: 20
|
delay: 20
|
||||||
delegate_to: "{{groups['kube-node'][0]}}"
|
delegate_to: "{{groups['kube-node'][0]}}"
|
||||||
|
|
Loading…
Reference in New Issue