refactor: use generic ansible modules service and package
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
65c3392fb1
commit
5f3e9b2efc
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Restart Telegraf
|
||||
systemd:
|
||||
service:
|
||||
name: telegraf
|
||||
state: restarted
|
||||
daemon_reload: yes
|
||||
|
@ -52,7 +52,7 @@
|
||||
notify: __telegraf_restart
|
||||
|
||||
- name: Ensure Telegraf is up and running
|
||||
systemd:
|
||||
service:
|
||||
name: telegraf
|
||||
daemon_reload: yes
|
||||
enabled: yes
|
||||
|
Loading…
Reference in New Issue
Block a user