Skip to content

piotrkurylak/ansible-role-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name: Grafana

Ansible role which allows you to install Grafana on Debian systems.

Requirements

None.

Role Variables

Release channel. You can switch to beta releases if you want.

grafana_apt_release_channel: "stable"

Grafana prerequisites.

grafana_prerequisites: [gnupg2, apt-transport-https]

Grafana repository.

grafana_apt_repo: "deb [signed-by={{ grafana_apt_keyring_path }}] https://packages.grafana.com/enterprise/deb {{ grafana_apt_release_channel }} main"

Grafana GPG key.

grafana_apt_key_url: "https://packages.grafana.com/gpg.key"

Path to Grafana keyring file.

grafana_apt_keyring_path: "/usr/share/keyrings/grafana-archive-keyring.gpg"

Location of Grafana config file.

grafana_config_file: "/etc/grafana/grafana.ini"

Grafana port. You can change it if you want, default port is 3000.

grafana_http_port: 3000

Dependencies

None.

Example Playbook

    - hosts: all
      become: yes
      roles:
         - ansible-role-grafana

License

MIT / BSD

Author Information

Role created by Piotr Kurylak.

About

Ansible role for installing Grafana on Debian systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published