ansible/roles/telegraf/handlers/main.yaml

15 lines
284 B
YAML
Raw Normal View History

2019-10-27 23:33:06 +00:00
---
- 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: