xoxys.telegraf/handlers/main.yml
Robert Kaussow 2ccf0bf880
All checks were successful
continuous-integration/drone/push Build is passing
cleanup reload handler
2021-06-05 22:54:39 +02:00

19 lines
322 B
YAML

---
- name: Restart Telegraf
service:
name: telegraf
state: restarted
daemon_reload: yes
enabled: yes
listen: __telegraf_restart
become: True
become_user: root
- name: Reload Telegraf
service:
name: telegraf
state: reloaded
listen: __telegraf_reload
become: True
become_user: root