ajout install de telegraph

This commit is contained in:
Antoine Ouvrard
2020-04-16 17:59:04 +02:00
committed by Samuel Trégouët
parent f8e710aedf
commit 031728dd0a
5 changed files with 80 additions and 2 deletions
+22 -1
View File
@@ -1,5 +1,5 @@
---
## activation des stats
## activation des stats dans jitsi
- name: configuration du videobridge pour activer les stats
lineinfile:
@@ -24,3 +24,24 @@
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