blob: b1e1cf20b09f3f2c1db0e340064114dd2a707b2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
---
- name: Converge
hosts: localhost
environment:
http_proxy: "{{ lookup('env', 'HTTP_PROXY') | default(omit) }}"
https_proxy: "{{ lookup('env', 'HTTPS_PROXY') | default(omit) }}"
no_proxy: "{{ lookup('env', 'NO_PROXY') | default(omit) }}"
vars:
grafana_url: http://localhost:3000
grafana_username: admin
grafana_password: admin
grafana_organizations:
- name: my_org
grafana_datasources:
- name: Loki
ds_type: loki
ds_url: http://127.0.0.1:3100
tls_skip_verify: true
grafana_folders:
- name: my_service
- name: other_service
grafana_teams:
- name: my_team
email: myteam@example.de
grafana_users:
- name: Test User
login: testuser
password: supersecure!123
email: testuser@example.de
grafana_organization_users:
- login: testuser
org_id: 1
- login: testuser
org_name: my_org
grafana_dashboards:
- folder: my_service
path: test_dashboard.json
overwrite: true
roles: [{role: community.grafana.grafana}]
|