From 031728dd0aff6f21a786f47379e171bbe2e76eca Mon Sep 17 00:00:00 2001 From: Antoine Ouvrard Date: Thu, 16 Apr 2020 17:59:04 +0200 Subject: ajout install de telegraph --- roles/jitsi-enable-stats/tasks/main.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'roles/jitsi-enable-stats/tasks') diff --git a/roles/jitsi-enable-stats/tasks/main.yml b/roles/jitsi-enable-stats/tasks/main.yml index ccb75df..5fc1018 100644 --- a/roles/jitsi-enable-stats/tasks/main.yml +++ b/roles/jitsi-enable-stats/tasks/main.yml @@ -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 -- cgit v1.2.3