retry to access grafana
This commit is contained in:
parent
c0b5a70a78
commit
9beb9b3347
1 changed files with 4 additions and 0 deletions
|
|
@ -63,6 +63,10 @@
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
- name: "Check if grafana is accessible."
|
- name: "Check if grafana is accessible."
|
||||||
|
retries: 5
|
||||||
|
delay: 2
|
||||||
|
register: result
|
||||||
|
until: result is not failed
|
||||||
uri:
|
uri:
|
||||||
url: "{{ grafana.config.root_url|d('http://127.0.0.1') }}"
|
url: "{{ grafana.config.root_url|d('http://127.0.0.1') }}"
|
||||||
method: GET
|
method: GET
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue