--- - 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 daemon_reload: yes enabled: yes listen: __telegraf_reload become: True become_user: root