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