ansible/roles/telegraf/tasks/start.yml
Bastian Mäuser 755c1c5af1
Some checks failed
continuous-integration/drone/push Build is failing
Add Telegraf Role
2021-01-10 19:11:32 +01:00

13 lines
256 B
YAML

---
- name: Start the Telegraf service
service:
name: telegraf
state: started
enabled: yes
# Only care to check the status if the state changed to 'started'
notify:
- "pause"
- "check status"
- "assert running"
become: true