ajoute la nouvelle grosse machine d'entrouvert + redémarrage du greenlight quand la conf LDAP a été modifié

This commit is contained in:
Antoine Ouvrard
2020-12-17 14:03:09 +01:00
parent 16b6403211
commit ab18fbf940
3 changed files with 16 additions and 1 deletions
+6 -1
View File
@@ -29,4 +29,9 @@
lineinfile:
path: "/root/greenlight/.env"
regexp: "LDAP_BASE="
line: "LDAP_BASE=o=libre-entreprise"
line: "LDAP_BASE=o=libre-entreprise"
register: result
- name: redémarrage de greenlight
shell: "cd /root/greenlight; docker-compose down; docker-compose up -d"
when: result is changed