Skip to content

Ansible role that installes Grafana with opiniated default settings.

License

Notifications You must be signed in to change notification settings

Rheinwerk/ansible-role-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grafana

This role installes Grafana with opiniated default settings.

Build Status

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.

About

Ansible role that installes Grafana with opiniated default settings.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages