blob: 170e6f246f6df6f40b37c705c2c1541913b5ef11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# {{ cephadm_managed }}
deleteDatasources:
{% for host in hosts %}
- name: 'Dashboard{{ loop.index }}'
orgId: 1
{% endfor %}
datasources:
{% for host in hosts %}
- name: 'Dashboard{{ loop.index }}'
type: 'prometheus'
access: 'proxy'
orgId: 1
url: '{{ host }}'
basicAuth: false
isDefault: {{ 'true' if loop.first else 'false' }}
editable: false
{% endfor %}
|