Merge branch '1-ajout-stats-jvb' into 'master'
Resolve "Ajout des stats à JVB" Closes #1 See merge request 10031/visio!1
This commit is contained in:
@@ -2,4 +2,4 @@ visio.imio.be
|
|||||||
visio.nereide.fr
|
visio.nereide.fr
|
||||||
visio2.nereide.fr ansible_ssh_user=root jitsi_user=nereide jitsi_pass=ofbiz
|
visio2.nereide.fr ansible_ssh_user=root jitsi_user=nereide jitsi_pass=ofbiz
|
||||||
visio.entrouvert.com
|
visio.entrouvert.com
|
||||||
visio443.champs-libres.be
|
visio443.champs-libres.be ansible_user=debian ansible_become=true ansible_python_interpreter=/usr/bin/python3
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
---
|
---
|
||||||
|
- name: installation de gpg si requis
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- gnupg2
|
||||||
|
- apt-transport-https
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Ajout de la clé GPG pour le depot jitsi
|
- name: Ajout de la clé GPG pour le depot jitsi
|
||||||
apt_key:
|
apt_key:
|
||||||
url: http://download.jitsi.org/jitsi-key.gpg.key
|
url: http://download.jitsi.org/jitsi-key.gpg.key
|
||||||
|
|||||||
@@ -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 de jvb 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 "'
|
||||||
@@ -2,3 +2,5 @@
|
|||||||
- include_tasks: sys_conf.yml
|
- include_tasks: sys_conf.yml
|
||||||
- include_tasks: jitsi_install.yml
|
- include_tasks: jitsi_install.yml
|
||||||
- include_tasks: jitsi_conf.yml
|
- include_tasks: jitsi_conf.yml
|
||||||
|
- include_tasks: jitsi_stats.yml
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
- hosts: visio443.champs-libres.be
|
||||||
|
roles:
|
||||||
|
- role: common
|
||||||
|
vars:
|
||||||
|
hostname: visio443.champs-libres.be
|
||||||
Reference in New Issue
Block a user