From 2fc6ae1073fc2db6a5ac7ad859343f51403094bb Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Wed, 31 Aug 2022 20:49:50 -0500 Subject: [PATCH] grafana: add some path variables --- roles/grafana/defaults/main.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/grafana/defaults/main.yaml b/roles/grafana/defaults/main.yaml index 4da84af..4685c2a 100644 --- a/roles/grafana/defaults/main.yaml +++ b/roles/grafana/defaults/main.yaml @@ -8,6 +8,8 @@ grafana_service_state: started grafana_service_enabled: true grafana_etc_path: /etc/grafana +grafana_var_path: /var/lib/grafana +grafana_dashboard_path: "{{ grafana_var_path }}/dashboards" grafana_config_path: "{{ grafana_etc_path }}/grafana.ini" grafana_provisioning_path: /etc/grafana/provisioning @@ -28,6 +30,9 @@ grafana_ssl_certificate: "/etc/letsencrypt/live/{{ grafana_domain }}/fullchain.p grafana_ssl_certificate_key: "/etc/letsencrypt/live/{{ grafana_domain }}/privkey.pem" # grafana_ssl_dhparam: "/etc/letsencrypt/ssl-dhparams.pem" + +grafana_user_dashboard_path: files/grafana/dashboards/ + grafana_datasources: {}