retry to access grafana

This commit is contained in:
nd 2023-03-03 22:54:10 +01:00
parent c0b5a70a78
commit 9beb9b3347
No known key found for this signature in database
GPG key ID: DC6070031E5A88A6

View file

@ -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