Galaxy role to install Grafana on Debian
Go to file
Wilfried OLLIVIER 53cbf0c442 Move LICENSE file 2019-07-25 20:34:36 +02:00
defaults Bootstrap grafana role 2019-07-10 17:13:09 +02:00
handlers Bootstrap grafana role 2019-07-10 17:13:09 +02:00
meta Bootstrap grafana role 2019-07-10 17:13:09 +02:00
tasks Bootstrap grafana role 2019-07-10 17:13:09 +02:00
templates Bootstrap grafana role 2019-07-10 17:13:09 +02:00
tests Bootstrap grafana role 2019-07-10 17:13:09 +02:00
vars Bootstrap grafana role 2019-07-10 17:13:09 +02:00
LICENSE Move LICENSE file 2019-07-25 20:34:36 +02:00
README.md Bootstrap grafana role 2019-07-10 17:13:09 +02:00

README.md

galaxy-grafana

Install Grafana on Debian

Requirements

None

Role Variables

  • grafana_name: name of the grafana instance
  • grafana_signup: true/false, is signup enabled ?
  • grafana_anon_access: true/false, is anon access enabled ?
  • grafana_anon_org: if anon access enabled, what org id should be used ?
  • grafana_proto: grafana protocol (http/https)
  • grafana_domain: domain name of the grafana instance
  • grafana_bind_iface: grafana interface bind selection
  • grafana_port: grafana port
  • grafana_url_port: grafana port (can be changed if a reverse proxy is used)
  • grafana_admin_user: grafana admin username
  • grafana_admin_pass: grafana admin password

Dependencies

None

Example Playbook

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
  roles:
     - role: galaxy-grafana

Run tests

Needs galaxy-vagrant to run tests

Ensure galaxy-vagrant is up

ansible-playbook -i tests/inventory tests/test.yml