Rheinwerk.grafana
Grafana
This role installes Grafana with opiniated default settings.
Requirements
None.
Role Variables
There are three variables that drive this role: _grafana, RW_APT_CACHE_UPDATE, and RW_ENABLE_DOWNLOADS. _grafana is a map that contains all configuration and settings for this role. RW_APT_CACHE_UPDATE RW_ENABLE_DOWNLOADS? may be specified as _extra variables_ on invocation of Ansible in order to force apt-get updateor download assets from the Internet, respectively. Please seedefaults/main.yml` for details.
Dependencies
None.
Example Playbook
The general contract of this role is to take the variables map _grafana from defaults/main.yml as a template for your configuration and pass that configuration as a parameter to this role.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
var:
GRAFANA:
...
roles:
- { role: grafana, tags: [ 'grafana' ], _grafana: "{{ GRAFANA }}" }
License
Please see LICENSE.
Author Information
Original author is Lukas Pustina as member of the Rheinwerk project.
