This role will assume the setup of grafana
It's part of the ELAO Ansible stack but can be used as a stand alone component.
- Ansible 1.7.2+
None.
Using ansible galaxy:
ansible-galaxy install elao.grafana,1.0
You can add this role as a dependency for other roles by adding the role to the meta/main.yml file of your own role:
dependencies:
- { role: elao.grafana }
Name | Type | Description |
---|---|---|
grafana restart | Service | Restart grafana server |
Name | Default | Type | Description |
---|---|---|---|
elao_grafana_config_file | /etc/grafana/grafana.ini | string | |
elao_grafana_config_template | config/base.ini.j2 | string | |
elao_grafana_config | [] | Array |
See : http://docs.grafana.org/installation/configuration/
elao_grafana_config:
- app_mode: production
- server:
- http_port: 3001
- security:
- admin_user: admin
- admin_password: admin
- hosts: servers
roles:
- { role: elao.grafana }
MIT