influxdb: do not start the service is the package is absent
This commit is contained in:
parent
8938feba0c
commit
ba68ceec5a
@ -42,3 +42,4 @@
|
||||
name: "{{ influxdb_service_name }}"
|
||||
state: "{{ influxdb_service_state }}"
|
||||
enabled: "{{ influxdb_service_enabled }}"
|
||||
when: influxdb_package_state != "absent"
|
||||
|
Loading…
Reference in New Issue
Block a user