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
+1
View File
@@ -2,4 +2,5 @@ jitsi.komuniki.fr ansible_user=debian ansible_become=true
visio.imio.be ansible_user=debian ansible_become=true
jitsi.entrouvert.com ansible_user=root
bbb.komuniki.fr ansible_user=root
xlbbb.komuniki.fr ansible_user=root bbbHostname=bbb.entrouvert.com
imio.bbb.komuniki.fr ansible_user=root bbbHostname=imio.bbb.komuniki.fr
+9
View File
@@ -37,6 +37,15 @@
tags:
- bbb
- hosts: xlbbb.komuniki.fr
roles:
- role: bbb-set-hostname
- role: bbb-disable-test-echo
- role: bbb-enable-ldap-LE
- role: bbb-enable-metrics
tags:
- eo.bbb
- hosts: imio.bbb.komuniki.fr
roles:
- role: bbb-set-hostname
+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