diff options
| author | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2020-04-03 20:51:16 +0200 |
|---|---|---|
| committer | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2020-04-03 20:51:16 +0200 |
| commit | 48d28ea3174cc05119b3d906bd1dc68077a1b16b (patch) | |
| tree | 81bb7e0f0a761ef76dda6da7b26abc741770d43e /roles/common/tasks/jitsi_conf.yml | |
| parent | bf81a41063e0142c9d723402fbad76e95ef364b2 (diff) | |
ajout du firewall et fail2ban
Diffstat (limited to 'roles/common/tasks/jitsi_conf.yml')
| -rw-r--r-- | roles/common/tasks/jitsi_conf.yml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/roles/common/tasks/jitsi_conf.yml b/roles/common/tasks/jitsi_conf.yml new file mode 100644 index 0000000..267dc51 --- /dev/null +++ b/roles/common/tasks/jitsi_conf.yml @@ -0,0 +1,44 @@ +--- +- name: Configuration de let's encrypt + script: files/jitsi-letsencrypt.sh > jitsi-letsencrypt.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: "" |
