diff --git a/playbook_prod.yml b/playbook_prod.yml index 7416129..2a7596b 100644 --- a/playbook_prod.yml +++ b/playbook_prod.yml @@ -51,7 +51,7 @@ - hosts: imio.bbb.komuniki.fr roles: - - role: bbb-set-hostname + - role: bbb-pre-install - role: bbb-disable-test-echo - role: bbb-enable-metrics tags: diff --git a/roles/bbb-pre-install/files/import-conf-bbb.sh b/roles/bbb-pre-install/files/import-conf-bbb.sh index d7104b1..110ad24 100644 --- a/roles/bbb-pre-install/files/import-conf-bbb.sh +++ b/roles/bbb-pre-install/files/import-conf-bbb.sh @@ -45,4 +45,8 @@ then echo "=== Applique le nouveau secret BBB à la conf Greenlight" NEW_SECRET=$(bbb-conf --secret | sed -n "/Secret:/ s/ Secret: //p") sed -i "s/\(^BIGBLUEBUTTON_SECRET=\).*/\1$NEW_SECRET/" /root/greenlight/.env + + echo + echo "=== Redémarre Greenlight" + cd /root/greenlight && docker-compose up -d fi