From d32fa35d58094b33d1bbe6aac217c134becf29a7 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sat, 11 Jan 2020 14:09:38 +0100 Subject: [PATCH] Remove grafana alerting --- roles/grafana/tasks/main.yml | 3 +++ roles/grafana/templates/ldap.toml.j2 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/grafana/tasks/main.yml b/roles/grafana/tasks/main.yml index 41243d9a..1442c08f 100644 --- a/roles/grafana/tasks/main.yml +++ b/roles/grafana/tasks/main.yml @@ -75,6 +75,9 @@ - section: auth.ldap option: enabled value: "true" + - section: alerting + option: enabled + value: "false" notify: Restart grafana - name: Configure Grafana LDAP diff --git a/roles/grafana/templates/ldap.toml.j2 b/roles/grafana/templates/ldap.toml.j2 index 9540cfab..f1f6c0c6 100644 --- a/roles/grafana/templates/ldap.toml.j2 +++ b/roles/grafana/templates/ldap.toml.j2 @@ -51,7 +51,7 @@ email = "mail" group_dn = "cn=nounou,ou=posix,ou=groups,dc=crans,dc=org" org_role = "Admin" # To make user an instance admin (Grafana Admin) uncomment line below -grafana_admin = true +# grafana_admin = true # The Grafana organization database id, optional, if left out the default org (id 1) will be used # org_id = 1