Skip to content
Snippets Groups Projects
Commit 0e436b3f authored by Paweł Krupa's avatar Paweł Krupa
Browse files

add wait_for

parent 1fe653e5
Branches
Tags
No related merge requests found
......@@ -15,6 +15,11 @@
delegate_to: localhost
with_items: "{{ grafana_dashboards }}"
- name: Wait for grafana to start
wait_for:
host: "{{ grafana_address }}"
port: "{{ grafana_port }}"
- name: import grafana dashboards
uri:
url: "{{ grafana_url }}/api/dashboards/db"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment