summaryrefslogtreecommitdiff
path: root/roles/monitoring/grafana/defaults/main.yml
blob: 10eac94745194e3c24d24356764517dfcd0a999e (plain) (blame)
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
49
50
51
52
53
---
# grafana_version:

# grafana_secret_key:  <--- pwgen -s 64 -1
grafana_root_url: "%(protocol)s://%(domain)s:%(http_port)s/grafana"

grafana_config_server:
  http_addr: localhost
  http_port: 3000
  root_url: "{{ grafana_root_url }}"
  serve_from_sub_path: true

grafana_config_analytics:
  reporting_enabled: false
  check_for_updates: false

grafana_config_security:
  secret_key: "{{ grafana_secret_key }}"
  disable_gravatar: true

grafana_config_users:
  allow_sign_up: false
  allow_org_create: false


grafana_datasources: []
#  - name: "Prometheus"
#    type: "prometheus"
#    access: "proxy"
#    url: "http://prometheus.mydomain"
#    basicAuth: true
#    basicAuthUser: "admin"
#    isDefault: true
#    secureJsonData:
#      basicAuthPassword: "password"
#    jsonData:
#      tlsAuth: false
#      tlsAuthWithCACert: false
#      tlsSkipVerify: true

grafana_dashboards: []
#  - file: node-full
#    datasource: "Prometheus"
#  - file: chronyd
#    datasource: "Prometheus"
#  - file: environment-sensors
#    datasource: "Prometheus"
#  - content: '... json-data ...'
#    name: bar
#    datasource: "Graphite"
#  - id: 19
#    revision: 3
#    datasource: "Foo"