BBB - ajout de la gestion de la connection ldap LE + activation des metrics

This commit is contained in:
Antoine Ouvrard
2020-09-28 11:25:22 +02:00
parent 65a74e0072
commit 33cd88390b
12 changed files with 246 additions and 3 deletions
+32
View File
@@ -0,0 +1,32 @@
---
# Activation de l'authentification au ldap Libre Entreprise
- name: ajout du serveur LDAP
lineinfile:
path: "/root/greenlight/.env"
regexp: "LDAP_SERVER="
line: "LDAP_SERVER=ldap.libre-entreprise.org"
- name: ajout du LDAP_PORT
lineinfile:
path: "/root/greenlight/.env"
regexp: "LDAP_PORT="
line: "LDAP_PORT=636"
- name: ajout du LDAP_METHOD
lineinfile:
path: "/root/greenlight/.env"
regexp: "LDAP_METHOD="
line: "LDAP_METHOD=ssl"
- name: ajout du LDAP_UID
lineinfile:
path: "/root/greenlight/.env"
regexp: "LDAP_UID="
line: "LDAP_UID=uid"
- name: ajout du LDAP_BASE
lineinfile:
path: "/root/greenlight/.env"
regexp: "LDAP_BASE="
line: "LDAP_BASE=o=libre-entreprise"