telegraf: don't start the service if the package is absent
This commit is contained in:
parent
3a149f6a4c
commit
ec00bf3d76
@ -62,3 +62,4 @@
|
||||
name: "{{ telegraf_service_name }}"
|
||||
state: "{{ telegraf_service_state }}"
|
||||
enabled: "{{ telegraf_service_enabled }}"
|
||||
when: telegraf_package_state != "absent"
|
||||
|
Loading…
Reference in New Issue
Block a user