Several improvements (see below); New default: Only last 3 speakers will be have active video

- Remove Jitsi runtime config in case of Ansible tag teardown
- Performance: DefautSet Jitsi Web config channelLastN using jitsi_web_channel_last_n
- Adds submodule with the source of docker-jitsi-meet, which this role is based on.
This commit is contained in:
Jan Beilicke 2020-05-01 23:24:17 +02:00
parent ffd78fdea1
commit b4855c6a66
5 changed files with 21 additions and 1 deletions

View file

@ -8,6 +8,12 @@
group: '{{ docker_user }}'
tags: config
- name: "Teardown: Remove Jitsi runtime config"
file:
path: /home/{{ docker_user }}/jitsi/conf
state: absent
tags: ['never', 'teardown']
- name: Ensure jitsi config directory exists
file:
path: /home/{{ docker_user }}/jitsi/conf
@ -67,6 +73,14 @@
host: localhost
port: "{{ jitsi_exposed_http_port }}"
- name: "Config: Set channelLastN"
lineinfile:
path: /home/{{ docker_user }}/jitsi/conf/web/config.js
regexp: '(\s*)channelLastN:\s*[^,]+,'
line: '\1channelLastN: {{jitsi_web_channel_last_n|default("-1")}},'
backrefs: yes
tags: config
- name: "Test whether Jitsi is healthy from the outside"
become: false
uri: