influxdb: do not start the service is the package is absent

This commit is contained in:
Ryan Cavicchioni 2022-08-30 07:04:56 -05:00
parent 8938feba0c
commit ba68ceec5a
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -42,3 +42,4 @@
name: "{{ influxdb_service_name }}" name: "{{ influxdb_service_name }}"
state: "{{ influxdb_service_state }}" state: "{{ influxdb_service_state }}"
enabled: "{{ influxdb_service_enabled }}" enabled: "{{ influxdb_service_enabled }}"
when: influxdb_package_state != "absent"