mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Replace action by modules
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
# handlers file for ansible-telegraf
|
||||
|
||||
- name: "Restart Telegraf"
|
||||
action: service
|
||||
name=telegraf
|
||||
state=restarted
|
||||
enabled=yes
|
||||
become: yes
|
||||
service:
|
||||
name: telegraf
|
||||
state: restarted
|
||||
enabled: yes
|
||||
become: yes
|
||||
|
Reference in New Issue
Block a user