24 lines
837 B
YAML
24 lines
837 B
YAML
|
---
|
||
|
- hosts: monitoring
|
||
|
roles:
|
||
|
- { role: geerlingguy.pip, tags: "pip", become: true }
|
||
|
- { role: mgrote.influxdb, tags: "influx", become: true }
|
||
|
- { role: mgrote.grafana, tags: "grafana", become: true }
|
||
|
vars:
|
||
|
### mgrote.grafana
|
||
|
grafana_http_port: 3000
|
||
|
# grafana_url: "http://tig.grote.lan:3000" <-- in GroupVars definiert
|
||
|
# grafana_server: "tig.grote.lan" <-- in GroupVars definiert
|
||
|
# grafana_influx_url: "http://tig.grote.lan:8086" <-- in GroupVars definiert
|
||
|
grafana_user: admin
|
||
|
grafana_password: hallowelt
|
||
|
grafana_telegraf_database_name: telegraf
|
||
|
### mgrote.influxdb
|
||
|
influxdb_users:
|
||
|
- { name: 'influx', password: 'hallowelt' }
|
||
|
- { name: 'grafana', password: 'hallowelt' }
|
||
|
- { name: 'michaelgrote', password: 'hallowelt' }
|
||
|
|
||
|
|
||
|
# Login nach Neuinstalll ist admin:admin
|