collabora #106
3 changed files with 11 additions and 3 deletions
|
@ -17,8 +17,9 @@
|
||||||
bind_password: "{{ vault_ldap_grafana_password }}"
|
bind_password: "{{ vault_ldap_grafana_password }}"
|
||||||
search_base_dns: "cn=Utilisateurs,dc=auro,dc=re"
|
search_base_dns: "cn=Utilisateurs,dc=auro,dc=re"
|
||||||
group_search_base_dns: "ou=posix,ou=groups,dc=auro,dc=re"
|
group_search_base_dns: "ou=posix,ou=groups,dc=auro,dc=re"
|
||||||
editors_group_dn:
|
admins_group_dn:
|
||||||
- cn=sudoldap,ou=posix,ou=groups,dc=auro,dc=re
|
- cn=sudoldap,ou=posix,ou=groups,dc=auro,dc=re
|
||||||
|
editors_group_dn:
|
||||||
- cn=technicien,ou=posix,ou=groups,dc=auro,dc=re
|
- cn=technicien,ou=posix,ou=groups,dc=auro,dc=re
|
||||||
update_motd:
|
update_motd:
|
||||||
grafana: Grafana est déployé (/etc/grafana).
|
grafana: Grafana est déployé (/etc/grafana).
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
uris: https://apt.grafana.com
|
uris: https://apt.grafana.com
|
||||||
suites: stable
|
suites: stable
|
||||||
components: main
|
components: main
|
||||||
signed_by: /usr/share/keyrings/grafana-release-keyring.gpg
|
signed_by: /etc/apt/keyrings/grafana-release-keyring.asc
|
||||||
|
|
||||||
- name: Install Grafana
|
- name: Install Grafana
|
||||||
apt:
|
apt:
|
||||||
|
|
|
@ -46,8 +46,15 @@ username = "cn"
|
||||||
member_of = "dn"
|
member_of = "dn"
|
||||||
email = "mail"
|
email = "mail"
|
||||||
|
|
||||||
|
# Admins
|
||||||
|
{% for group_dn in grafana.ldap.admins_group_dn | default([]) %}
|
||||||
|
[[servers.group_mappings]]
|
||||||
|
group_dn = "{{ group_dn }}"
|
||||||
|
org_role = "Admin"
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
# Editors
|
# Editors
|
||||||
{% for group_dn in grafana.ldap.editors_group_dn %}
|
{% for group_dn in grafana.ldap.editors_group_dn | default([]) %}
|
||||||
[[servers.group_mappings]]
|
[[servers.group_mappings]]
|
||||||
group_dn = "{{ group_dn }}"
|
group_dn = "{{ group_dn }}"
|
||||||
org_role = "Editor"
|
org_role = "Editor"
|
||||||
|
|
Loading…
Reference in a new issue