diff options
| author | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2020-10-13 10:32:17 +0200 |
|---|---|---|
| committer | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2020-10-13 10:32:17 +0200 |
| commit | 1bc60925230e1ed3a2bf554570ce097caa16b2b9 (patch) | |
| tree | 09ffa5cbd0c18b3f9e0fc7ff8fe7f3d33b91e82d /roles/bbb-enable-ldap-LE/tasks | |
| parent | 65a74e007219918b72a62713243d40df5e60901b (diff) | |
| parent | 33cd88390be8f7e7207667b7bc2bb42b64bbd632 (diff) | |
Merge branch 'bbb' into 'master'
BBB - ajout de la gestion de la connection ldap LE + activation des metrics
See merge request 10031/visio!12
Diffstat (limited to 'roles/bbb-enable-ldap-LE/tasks')
| -rw-r--r-- | roles/bbb-enable-ldap-LE/tasks/main.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/roles/bbb-enable-ldap-LE/tasks/main.yml b/roles/bbb-enable-ldap-LE/tasks/main.yml new file mode 100644 index 0000000..6eec55c --- /dev/null +++ b/roles/bbb-enable-ldap-LE/tasks/main.yml @@ -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"
\ No newline at end of file |
