aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/grafana/templates/grafana.ini.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/grafana/templates/grafana.ini.j2')
-rw-r--r--ansible/roles/grafana/templates/grafana.ini.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/grafana/templates/grafana.ini.j2 b/ansible/roles/grafana/templates/grafana.ini.j2
index 763915796..4aae4caa5 100644
--- a/ansible/roles/grafana/templates/grafana.ini.j2
+++ b/ansible/roles/grafana/templates/grafana.ini.j2
@@ -41,3 +41,8 @@ enabled = true
config_file = /etc/grafana/ldap.toml
allow_sign_up = true
{% endif %}
+
+{% if grafana_custom_home_dashboard | bool %}
+[dashboards]
+default_home_dashboard_path = /usr/share/grafana/public/dashboards/home.json
+{% endif %}