adding stats to jitsi install

This commit is contained in:
Julien Fastré
2020-04-07 16:02:09 +02:00
parent 430a089615
commit cca02db6c4
5 changed files with 45 additions and 1 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ visio.imio.be
visio.nereide.fr
visio2.nereide.fr ansible_ssh_user=root jitsi_user=nereide jitsi_pass=ofbiz
visio.entrouvert.com
visio443.champs-libres.be
visio443.champs-libres.be ansible_user=debian ansible_become=true ansible_python_interpreter=/usr/bin/python3
+8
View File
@@ -1,4 +1,12 @@
---
- name: installation de gpg si requis
apt:
name:
- gnupg2
- apt-transport-https
update_cache: yes
state: present
- name: Ajout de la clé GPG pour le depot jitsi
apt_key:
url: http://download.jitsi.org/jitsi-key.gpg.key
+26
View File
@@ -0,0 +1,26 @@
---
## activation des stats
- name: configuration du videobridge pour activer les stats
lineinfile:
path: "/etc/jitsi/videobridge/sip-communicator.properties"
regexp: "^org.jitsi.videobridge.ENABLE_STATISTICS"
line: "org.jitsi.videobridge.ENABLE_STATISTICS=true"
- name: configuration du videobridge pour transporter les stats via colibri REST api
lineinfile:
path: "/etc/jitsi/videobridge/sip-communicator.properties"
regexp: "^org.jitsi.videobridge.STATISTICS_TRANSPORT"
line: "org.jitsi.videobridge.STATISTICS_TRANSPORT=muc,colibri"
- name: bloque l'accès à l'api colibri depuis l'extérieur
lineinfile:
path: "/etc/jitsi/videobridge/sip-communicator.properties"
regexp: "^org.jitsi.videobridge.rest.private.jetty.host"
line: "org.jitsi.videobridge.rest.private.jetty.host=localhost"
- name: ajoute l'api REST à la config de démarrage du videobridge
lineinfile:
path: "/etc/jitsi/videobridge/config"
regexp: "^JVB_OPTS="
line: 'JVB_OPTS=" --apis=rest,xmpp "'
+4
View File
@@ -2,3 +2,7 @@
- include_tasks: sys_conf.yml
- include_tasks: jitsi_install.yml
- include_tasks: jitsi_conf.yml
- include_tasks: jitsi_stats.yml
# for next commit :-)
# - include_tasks: jitsi_patching_coturn.yml
+6
View File
@@ -0,0 +1,6 @@
- hosts: visio443.champs-libres.be
roles:
- role: common
vars:
hostname: visio443.champs-libres.be