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