Set up (the latest version of) Grafana in Debian-like systems.
software-properties-common
(will be installed)dirmngr
(will be installed)apt-transport-https
(will be installed)
-
grafana_install
: [default:[]
]: Additional packages to install -
grafana_grafana_user
: [default:grafana
]: User to run daemon as -
grafana_grafana_group
: [default:grafana
]: Group to run daemon as -
grafana_grafana_home
: [default:/usr/share/grafana
]: Home directory -
grafana_log_dir
: [default:/var/log/grafana
]: L:g directory -
grafana_data_dir
: [default:/var/lib/grafana
]: Data directory -
grafana_max_open_files
: [default:10000
]: Maximum number of open files -
grafana_conf_dir
: [default:/etc/grafana
]: Configuration directory -
grafana_conf_file
: [default:/etc/grafana/grafana.ini
]: Configuration file -
grafana_restart_on_upgrade
: [default:true
]: Whether or not to restart on upgrade -
grafana_plugins_dir
: [default:/var/lib/grafana/plugins
]: Plugins directory -
grafana_pid_file_dir
: [default:/var/run/grafana
]: PID file (run
) directory -
grafana_etc_default
: [see:defaults/main.yml
]: Content (lines) of/etc/default/grafana-server
-
grafana_etc_grafana_grafana_ini
: [default:[]
]: Content (lines) of/etc/grafana/grafana.ini
(see)
None
---
- hosts: all
roles:
- oefenweb.grafana
---
- hosts: all
roles:
- oefenweb.grafana
vars:
grafana_etc_grafana_grafana_ini:
- |
[server]
http_addr = 127.0.0.1
MIT
- Mark van Driel
- Mischa ter Smitten
Are welcome!