Add telegraf role

This commit is contained in:
2019-10-27 18:33:06 -05:00
parent 7e6e1e157c
commit 497c70a3bf
5 changed files with 230 additions and 0 deletions

View File

@ -0,0 +1,14 @@
---
- name: reload telegraf
service:
name: "{{ telegraf_service_name }}"
state: restarted
when: telegraf_service_enabled
- name: telegraf daemon-reload
systemd:
name: "{{ telegraf_service_name }}"
daemon_reload: yes
state: restarted
# vim:ft=yaml.ansible: