refactor: use generic ansible modules service and package
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2021-06-05 15:30:36 +02:00
parent 65c3392fb1
commit 5f3e9b2efc
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
---
- name: Restart Telegraf
systemd:
service:
name: telegraf
state: restarted
daemon_reload: yes

View File

@ -52,7 +52,7 @@
notify: __telegraf_restart
- name: Ensure Telegraf is up and running
systemd:
service:
name: telegraf
daemon_reload: yes
enabled: yes