mise en prod des jibri imioa la sauce ansible
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
file:
|
||||
state: directory
|
||||
path: /usr/local/bin/
|
||||
mode: 0644
|
||||
mode: 0755
|
||||
# yamllint disable rule:line-length
|
||||
- name: "télécharge de chromedriver pour la version {{ _latest_release.content }}"
|
||||
unarchive:
|
||||
|
||||
@@ -23,10 +23,10 @@
|
||||
file:
|
||||
state: directory
|
||||
path: /etc/opt/chrome/policies/managed
|
||||
mode: 0644
|
||||
mode: 0755
|
||||
- name: CommandLineFlagSecurityWarningsEnabled
|
||||
copy:
|
||||
dest: /etc/opt/chrome/policies/managed/managed_policies.json
|
||||
mode: 0755
|
||||
mode: 0644
|
||||
content: |
|
||||
{ "CommandLineFlagSecurityWarningsEnabled": false }
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user