Skip to content

ElaoInfra/ansible-role-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: grafana

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.

Requirements

  • Ansible 1.7.2+

Dependencies

None.

Installation

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 }

Role Handlers

Name Type Description
grafana restart Service Restart grafana server

Role Variables

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

Configuration example

See : http://docs.grafana.org/installation/configuration/

elao_grafana_config:
  - app_mode: production
  - server:
    - http_port: 3001
  - security:
    - admin_user: admin
    - admin_password: admin

Example playbook

- hosts: servers
  roles:
     - { role: elao.grafana }

Licence

MIT

Author information

ELAO (http://www.elao.com/)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published