Fix templates

This commit is contained in:
phil 2023-11-20 12:32:55 +01:00
parent d8c04dbb62
commit e4c4d60ba6

View file

@ -8,7 +8,7 @@ root_url = https://{{ grafana_domain }}
[database]
type = {{ grafana_db_type }}
{% if grafana_db_type != sqlite3 %}
{% if grafana_db_type != "sqlite3" %}
host = {{ database_host }}:{{ grafana_db_port }}
name = {{ grafana_db }}
user = {{ grafana_db_user }}
@ -46,11 +46,11 @@ enabled = false
rendering_timezone = Europe/Berlin
rendering_language = de-DE
{% if grafana_auth_generic_oauth_enabled is defined and grafana_auth_generic_oauth_enabled %}
[auth]
signout_redirect_url = {{ grafana_auth_signout_redirect_url }}
oauth_auto_login = false
{% if grafana_auth_generic_oauth_enabled is defined and grafana_auth_generic_oauth_enabled %}
[auth.generic_oauth]
name = {{ grafana_auth_generic_oauth_name }}
enabled = true