summaryrefslogtreecommitdiff
path: root/roles/jitsi-enable-stats/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/jitsi-enable-stats/tasks/main.yml')
-rw-r--r--roles/jitsi-enable-stats/tasks/main.yml12
1 files changed, 3 insertions, 9 deletions
diff --git a/roles/jitsi-enable-stats/tasks/main.yml b/roles/jitsi-enable-stats/tasks/main.yml
index ca36134..521b3e2 100644
--- a/roles/jitsi-enable-stats/tasks/main.yml
+++ b/roles/jitsi-enable-stats/tasks/main.yml
@@ -42,20 +42,14 @@
template:
src: ../templates/telegraf-input-jitsi.conf
dest: /etc/telegraf/telegraf.d/jitsi.conf
+ mode: u=rw,g=r,o=r
notify:
- restart telegraf
-- name: Question
- pause:
- prompt: "Vers quel influxdb/grafana souhaitez vous envoyer les metrics?\n1- Néréide\n2- Champs-Libres\n"
- register: prompt_input
-
- name: Application de la conf Telegraf
- vars:
- outputnrd: prompt_input.user_input == "1"
- outputcl: prompt_input.user_input == "2"
template:
src: ../templates/telegraf-general.conf.j2
dest: /etc/telegraf/telegraf.conf
+ mode: u=rw,g=r,o=r
notify:
- - restart telegraf \ No newline at end of file
+ - restart telegraf