From 45ef86177f6a79949f85deff0ce91ed1fbf9a0c0 Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Date: Mon, 26 Sep 2016 19:11:01 +0200 Subject: [PATCH] Add newline in grafana template Grafana service fails while login because a wrong memcached connection. TrivialFix Change-Id: I3b73733cd25bace09f1e478cbb770ba6a5ed85a5 --- ansible/roles/grafana/templates/grafana.ini.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/grafana/templates/grafana.ini.j2 b/ansible/roles/grafana/templates/grafana.ini.j2 index 582488a72a..4c2e9bbdae 100644 --- a/ansible/roles/grafana/templates/grafana.ini.j2 +++ b/ansible/roles/grafana/templates/grafana.ini.j2 @@ -25,6 +25,7 @@ ssl_mode = disable [session] provider = memcache provider_config = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %} + cookie_name = grafana_sess cookie_secure = false session_life_time = 86400