This commit is contained in:
Antoine Ouvrard
2021-05-04 17:27:25 +02:00
parent 5edcb56305
commit 2bc9af1308
14 changed files with 68 additions and 29 deletions
+6 -2
View File
@@ -19,7 +19,9 @@
- name: Récup du hostname actuellement configuré
set_fact:
oldHostname: "{{ lookup('ini', 'bigbluebutton.web.serverURL type=properties file=/tmp/bigbluebutton.properties') | urlsplit('hostname') }}"
oldHostname:
# yamllint disable-line rule:line-length
"{{ lookup('ini', 'bigbluebutton.web.serverURL type=properties file=/tmp/bigbluebutton.properties') | urlsplit('hostname') }}"
- name: execution de la commande bigbluebutton qui set le nouveau nom de domaine
command: "bbb-conf --setip {{ bbbHostname }}"
@@ -56,7 +58,9 @@
when: not ssl_file.stat.exists
- name: Certif LE
command: certbot --webroot -w /var/www/bigbluebutton-default/ -d {{ bbbHostname }} certonly
command:
# yamllint disable-line rule:line-length
certbot --webroot -w /var/www/bigbluebutton-default/ -d {{ bbbHostname }} certonly
when: not ssl_file.stat.exists
- name: Suppression de la conf temporaire LE