grafana dashboard updated, wait_for

This commit is contained in:
2021-06-10 10:50:45 +02:00
parent e81fb5d445
commit 962d9b5ac9
2 changed files with 27 additions and 12 deletions

View File

@@ -25,6 +25,10 @@
detach: True
cleanup: True
- wait_for:
host: localhost
port: 3000
- community.grafana.grafana_datasource:
grafana_url: http://localhost:3000
grafana_user: admin
@@ -47,4 +51,4 @@
state: present
commit_message: updated by ansible
overwrite: yes
json_data: "{{lookup('file', 'grafana-dash.json')|from_json}}"
json_data: "{{lookup('file', 'grafana-dashboard.json')|from_json}}"