summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/jibri-install/tasks/install-chromedriver.yml2
-rw-r--r--roles/jibri-install/tasks/install-googlechrome.yml4
-rw-r--r--roles/jitsi-enable-jibri/tasks/main.yml4
3 files changed, 5 insertions, 5 deletions
diff --git a/roles/jibri-install/tasks/install-chromedriver.yml b/roles/jibri-install/tasks/install-chromedriver.yml
index 0699d2c..ca00ef4 100644
--- a/roles/jibri-install/tasks/install-chromedriver.yml
+++ b/roles/jibri-install/tasks/install-chromedriver.yml
@@ -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:
diff --git a/roles/jibri-install/tasks/install-googlechrome.yml b/roles/jibri-install/tasks/install-googlechrome.yml
index 5ab6898..c23873f 100644
--- a/roles/jibri-install/tasks/install-googlechrome.yml
+++ b/roles/jibri-install/tasks/install-googlechrome.yml
@@ -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 }
diff --git a/roles/jitsi-enable-jibri/tasks/main.yml b/roles/jitsi-enable-jibri/tasks/main.yml
index a01bf1d..77089d1 100644
--- a/roles/jitsi-enable-jibri/tasks/main.yml
+++ b/roles/jitsi-enable-jibri/tasks/main.yml
@@ -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