Commit b2b1fa03 authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Merge branch 'ska_proto_rxs_monitor'

parents d0ca84f1 27aa5b82
...@@ -13,6 +13,12 @@ ...@@ -13,6 +13,12 @@
tags: tags:
- always - always
- name: Wait for grafana to be ready
wait_for:
host="{{ grafana_host }}"
port="{{ grafana_port }}"
timeout=60
- name: Setup RXS Dashboard - name: Setup RXS Dashboard
uri: uri:
...@@ -21,8 +27,12 @@ ...@@ -21,8 +27,12 @@
headers: headers:
Content-Type: "application/json;charset=UTF-8" Content-Type: "application/json;charset=UTF-8"
Accept: "application/json" Accept: "application/json"
body: "{{ lookup('template', rxs_dashboard.json ) }}" body: "{{ lookup('template', 'rxs_dashboard.json' ) }}"
body_format: json body_format: json
retries: 3
delay: 10
register: result
until: result is not failed
tags: tags:
- dashboard - dashboard
......
{ {
"overwrite": true, "overwrite": true,
"dashboard": {
"annotations": { "annotations": {
"list": [ "list": [
{ {
...@@ -699,3 +700,4 @@ ...@@ -699,3 +700,4 @@
"uid": "stTTya4nz", "uid": "stTTya4nz",
"version": 16 "version": 16
} }
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment