2021-06-03 16:55:27 +00:00
|
|
|
---
|
|
|
|
- name: Restart Telegraf
|
2021-06-05 13:30:36 +00:00
|
|
|
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
|