summaryrefslogtreecommitdiff
path: root/roles/bbb-set-hostname
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bbb-set-hostname')
-rw-r--r--roles/bbb-set-hostname/tasks/main.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/roles/bbb-set-hostname/tasks/main.yml b/roles/bbb-set-hostname/tasks/main.yml
index 4cdef9d..651c9d4 100644
--- a/roles/bbb-set-hostname/tasks/main.yml
+++ b/roles/bbb-set-hostname/tasks/main.yml
@@ -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