From 9899a32739a96b7d5cda51ba7f941fb209a29763 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss <erdnaxe@crans.org> Date: Tue, 5 Jan 2021 19:01:47 +0100 Subject: [PATCH] Make grafana public --- roles/grafana/tasks/main.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/roles/grafana/tasks/main.yml b/roles/grafana/tasks/main.yml index 0ec974c3..1d928719 100644 --- a/roles/grafana/tasks/main.yml +++ b/roles/grafana/tasks/main.yml @@ -33,12 +33,18 @@ - section: server option: root_url value: "{{ grafana.root_url }}" - - section: session # This will break with HTTPS - option: cookie_secure - value: "true" - section: analytics option: reporting_enabled value: "false" + - section: analytics + option: check_for_updates + value: "false" + - section: security + option: disable_initial_admin_creation + value: "true" + - section: security + option: cookie_secure + value: "true" - section: snapshots option: external_enabled value: "false" @@ -48,6 +54,12 @@ - section: users option: allow_org_create value: "false" + - section: auth.anonymous + option: enabled + value: "true" + - section: auth.anonymous + option: hide_version + value: "true" - section: auth.basic # Only LDAP auth option: enabled value: "false" -- GitLab