3 # Copyright (C) 2020 Free Software Foundation
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 - name: add jitsi apt key
21 data: "{{ lookup('file', 'files/download.jitsi.org.asc') }}"
24 - name: add jitsi apt repo
26 repo: deb https://download.jitsi.org stable/
43 - name: allow connecting from 443 for p2p
45 comment: allow connecting from 443 for p2p
54 from_port: 10000:20000
60 comment: turn ports in
66 - name: allow connections to mysql server for auth
68 comment: allow connections to mysql server for auth
74 - name: check if jitsi is installed
75 stat: path=/usr/share/jitsi-meet
79 - name: copy watermark logo
82 dest: /usr/share/jitsi-meet/images/watermark.png
88 - name: copy index.html (librejs)
91 dest: /usr/share/jitsi-meet/index.html
99 path: /usr/share/jitsi-meet/css/all.css
100 line: ".header-text-description, .unsupported-desktop-browser__description {display:none!important}"
102 - name: fellow hacker
104 path: /usr/share/jitsi-meet/interface_config.js
105 regexp: "Fellow Jitster"
106 replace: "Fellow Hacker"
109 - name: disable youtube button
111 path: /usr/share/jitsi-meet/interface_config.js
112 regexp: "'sharedvideo',"
115 - name: disable background blur button
117 path: /usr/share/jitsi-meet/interface_config.js
118 regexp: "'videobackgroundblur',"
123 path: /usr/share/jitsi-meet/interface_config.js
124 regexp: "https://jitsi.org"
125 replace: "https://{{ inventory_hostname }}/"
129 path: /usr/share/jitsi-meet/interface_config.js
130 regexp: "VIDEO_QUALITY_LABEL_DISABLED: false"
131 replace: "VIDEO_QUALITY_LABEL_DISABLED: true"
133 - name: hide toolbar quick
135 path: /usr/share/jitsi-meet/interface_config.js
136 regexp: "TOOLBAR_TIMEOUT: 4000,"
137 replace: "TOOLBAR_TIMEOUT: 1000,"
141 path: /usr/share/jitsi-meet/interface_config.js
142 regexp: "SHOW_WATERMARK_FOR_GUESTS: true,"
143 replace: "SHOW_WATERMARK_FOR_GUESTS: false,"
147 path: /usr/share/jitsi-meet/interface_config.js
148 regexp: "SHOW_JITSI_WATERMARK: true,"
149 replace: "SHOW_JITSI_WATERMARK: false,"
151 - name: disable background blur
153 path: /usr/share/jitsi-meet/interface_config.js
154 regexp: "DISABLE_VIDEO_BACKGROUND: false,"
155 replace: "DISABLE_VIDEO_BACKGROUND: true,"
157 - name: DISABLE_JOIN_LEAVE_NOTIFICATIONS
159 path: /usr/share/jitsi-meet/interface_config.js
160 regexp: "DISABLE_JOIN_LEAVE_NOTIFICATIONS: false,"
161 replace: "DISABLE_JOIN_LEAVE_NOTIFICATIONS: true,"
163 - name: DISABLE_FOCUS_INDICATOR
165 path: /usr/share/jitsi-meet/interface_config.js
166 regexp: "DISABLE_FOCUS_INDICATOR: false,"
167 replace: "DISABLE_FOCUS_INDICATOR: true,"
169 - name: DISABLE_DOMINANT_SPEAKER_INDICATOR
171 path: /usr/share/jitsi-meet/interface_config.js
172 regexp: "DISABLE_DOMINANT_SPEAKER_INDICATOR: false,"
173 replace: "DISABLE_DOMINANT_SPEAKER_INDICATOR: true,"