23 lines
580 B
YAML
23 lines
580 B
YAML
---
|
|
- name: Converge
|
|
hosts: all
|
|
roles:
|
|
- ansible-role-grafana
|
|
vars:
|
|
grafana_plugins:
|
|
- name: grafana-piechart-panel
|
|
- name: sensu-sensugo-datasource
|
|
version: 1.0.3
|
|
url: >
|
|
https://github.com/sensu/grafana-sensu-go-datasource/releases/download/1.0.3/sensu-sensugo-datasource-1.0.3.zip
|
|
grafana_config:
|
|
default:
|
|
instance_name: '${HOSTNAME}'
|
|
security:
|
|
admin_user: sysadmin
|
|
admin_password: secret
|
|
|
|
pre_tasks:
|
|
- name: update apt cache
|
|
ansible.builtin.apt:
|
|
update_cache: true
|