summaryrefslogtreecommitdiff
path: root/roles/jitsi-post-install/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/jitsi-post-install/tasks/main.yml')
-rw-r--r--roles/jitsi-post-install/tasks/main.yml56
1 files changed, 56 insertions, 0 deletions
diff --git a/roles/jitsi-post-install/tasks/main.yml b/roles/jitsi-post-install/tasks/main.yml
new file mode 100644
index 0000000..cfbe84b
--- /dev/null
+++ b/roles/jitsi-post-install/tasks/main.yml
@@ -0,0 +1,56 @@
+---
+- name: Conf let's encrypt - désactivation de la demande du mail de supervision 1/2
+ replace:
+ path: /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
+ regexp: "read EMAIL"
+ replace: "#read EMAIL"
+
+- name: Conf let's encrypt - désactivation de la demande du mail de supervision 1/2
+ lineinfile:
+ path: /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
+ insertafter: "#read EMAIL"
+ line: "EMAIL=supervision@nereide.fr"
+
+- name: Exécution du script lets encrypt
+ shell: /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh >> jitsi-le.log
+
+- name: Conf Jitsi - UI en fr
+ lineinfile:
+ path: /etc/jitsi/meet/{{ inventory_hostname }}-config.js
+ insertafter: "[^?]// defaultLanguage: 'en'"
+ line: " defaultLanguage: 'fr',"
+
+- name: Conf Jitsi - webcam en qualité medium par defaut 1/2
+ lineinfile:
+ path: /etc/jitsi/meet/{{ inventory_hostname }}-config.js
+ insertafter: "[^?]// resolution: 720"
+ line: " resolution: 360,"
+
+- name: Conf Jitsi - webcam en qualité medium par defaut 2/2
+ blockinfile:
+ path: /etc/jitsi/meet/{{ inventory_hostname }}-config.js
+ marker: "// {mark} ANSIBLE MANAGED BLOCK"
+ insertafter: "// ratio of 16:9 with an ideal resolution of 720."
+ block: |
+ constraints: {
+ video: {
+ aspectRatio: 16 / 9,
+ height: {
+ ideal: 360,
+ max: 360,
+ min: 240
+ }
+ }
+ },
+
+- name: Conf Jitsi - Désactive l'effet floutage d'arrière plan
+ replace:
+ path: /usr/share/jitsi-meet/interface_config.js
+ regexp: "'videobackgroundblur',"
+ replace: ""
+
+- name: Conf Jitsi - Active une alerte pour les utilisateurs de Firefox
+ replace:
+ path: /usr/share/jitsi-meet/interface_config.js
+ regexp: "'firefox',"
+ replace: "" \ No newline at end of file