Ansible Role grafana_grizzly
This role installs grizzly, a tool for the management of Grafana dashboards.
Additionally, this role allows you to apply Grafana resources which are saved as {{ inventory_dir }}/host_vars/{{ inventory_hostname }}/files/grafana_grizzly/*.yml
.
Mandatory Requirements
A Grafana Server. This can be done using the linuxfabrik.lfops.grafana role.
A Grafana service account with an Admin token. This can be done using the linuxfabrik.lfops.grafana role.
If you use the Grafana Grizzly Playbook this is automatically done for you.
Mandatory Role Variables
Variable |
Description |
---|---|
|
The login for a Grafana service account with a „Admin“ token. The password will be automatically generated by Grafana and therefore cannot be set here. Set it manually according to the output during the Ansible run. |
Example:
# mandatory
grafana_grizzly__grafana_service_account_login:
username: 'grizzly'
password: 'linuxfabrik'
Optional Role Variables
Variable |
Description |
Default Value |
---|---|---|
|
The URL under which Grafana is reachable |
|
|
The version of Grizzly to install. Possible options: |
|
Hints:
20240624 we can’t use „latest“, because then we get annoying errors like:
"Providers: Grafana - active, Mimir - inactive (mimir address is not set), Synthetic Monitoring - inactive (stack id is not set)'"
v0.2.0
is the last known good version to use for the way we how we deploy grizzly dashboards and datasources
Example:
# optional
grafana_grizzly__grafana_url: 'http://localhost:3000'
grafana_grizzly__version: 'v0.2.0'