Robert Kaussow
2ccf0bf880
All checks were successful
continuous-integration/drone/push Build is passing
19 lines
322 B
YAML
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
|