blob: 5fc1018e8d1b0dd2ca35777a2ec052869eb8b671 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
---
## activation des stats dans jitsi
- 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 "'
## Instalation de Telegraf
- name: Ajout de la clé du depot Telegraf
apt_key:
url: https://repos.influxdata.com/influxdb.key
- name: Ajout du depot jitsi
apt_repository:
repo: deb https://repos.influxdata.com/debian buster stable
- name: Installation de Telegraf
apt:
name: telegraf
update_cache: true
- name: Application de la conf Jitsi pour Telegraf
template:
src: ../files/jitsi.conf
dest: /etc/telegraf/telegraf.d/
notify:
- restart telegraf
|