xoxys.telegraf/handlers/main.yml

19 lines
322 B
YAML
Raw Normal View History

2021-06-03 16:55:27 +00:00
---
- name: Restart Telegraf
service:
2021-06-03 16:55:27 +00:00
name: telegraf
state: restarted
daemon_reload: yes
enabled: yes
listen: __telegraf_restart
become: True
become_user: root
2021-06-05 15:21:20 +00:00
- name: Reload Telegraf
service:
name: telegraf
state: reloaded
listen: __telegraf_reload
become: True
become_user: root