Replace action by modules

This commit is contained in:
Thomas Szymanski
2017-02-22 10:50:06 +01:00
parent ae8c1cbe7f
commit c416bb20a7
4 changed files with 26 additions and 26 deletions

View File

@ -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