collabora #106

Merged
jeltz merged 7 commits from collabora into new-infra 2024-02-24 19:34:35 +01:00
3 changed files with 11 additions and 3 deletions
Showing only changes of commit e5e6dd8056 - Show all commits

View file

@ -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).

View file

@ -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:

View file

@ -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"