mise en prod des jibri imioa la sauce ansible

This commit is contained in:
Antoine Ouvrard
2021-05-22 15:34:58 +02:00
parent 1c59afb8ed
commit 9f7246dbbc
9 changed files with 75 additions and 39 deletions
+2 -2
View File
@@ -31,7 +31,7 @@
command: prosodyctl register {{ item.user }}-record recorder.{{ inventory_hostname }} {{ item.password }}
args:
# Prosody remplace les points par des '%2e' dans le chemin du fichier
creates: /var/lib/prosody/{{ 'auth%2e'+inventory_hostname | replace('.', '%2e') }}/accounts/{{ item.user }}.dat
creates: /var/lib/prosody/{{ 'recorder%2e'+inventory_hostname | replace('.', '%2e') }}/accounts/{{ item.user + '-record' | replace('-', '%2d') }}.dat
loop: "{{ jibri_users }}"
- name: authentification jicofo
@@ -55,6 +55,6 @@
- name: hidden domain
lineinfile:
path: /etc/jitsi/meet/{{ inventory_hostname }}-config.js
insertbefore: "[^?]// List of undocumented"
insertafter: "[^?]// subject: 'Conference Subject',"
line: "hiddenDomain: 'recorder.{{ inventory_hostname }}',"
# yamllint enable rule:line-length