Merge "Fix retry mechanism"
This commit is contained in:
commit
b9504e94c5
@ -4,7 +4,7 @@
|
|||||||
url: "{{ internal_protocol }}://{{ kolla_internal_vip_address }}:{{ grafana_server_port }}/login"
|
url: "{{ internal_protocol }}://{{ kolla_internal_vip_address }}:{{ grafana_server_port }}/login"
|
||||||
status_code: 200
|
status_code: 200
|
||||||
register: result
|
register: result
|
||||||
until: result | failed or result.status == 200
|
until: result.get('status') == 200
|
||||||
retries: 10
|
retries: 10
|
||||||
delay: 2
|
delay: 2
|
||||||
run_once: true
|
run_once: true
|
||||||
|
Loading…
Reference in New Issue
Block a user