diff --git a/ansible/roles/grafana/templates/grafana.ini.j2 b/ansible/roles/grafana/templates/grafana.ini.j2 index 4c2e9bbdae..d049e8a3e1 100644 --- a/ansible/roles/grafana/templates/grafana.ini.j2 +++ b/ansible/roles/grafana/templates/grafana.ini.j2 @@ -23,8 +23,8 @@ password = {{ grafana_database_password }} 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 %} +provider = mysql +provider_config = grafana:{{ grafana_database_password }}@tcp({{ grafana_database_address }}/grafana cookie_name = grafana_sess cookie_secure = false