kolla-ansible/ansible/roles/influxdb/tasks/precheck.yml
pangliye df6b98d793 Delete influxdb admin port
From version 1.3, the web admin interface is no longer available
in InfluxDB.
https://docs.influxdata.com/influxdb/v1.3/administration/differences/#web-admin-ui-removal

Change-Id: I1dce61a9c40a407882cfcd520ca491b4dee734ae
2019-09-11 09:27:08 +08:00

19 lines
423 B
YAML

---
- name: Get container facts
become: true
kolla_container_facts:
name:
- influxdb
register: container_facts
- name: Checking free port for Influxdb Http
wait_for:
host: "{{ api_interface_address }}"
port: "{{ influxdb_http_port }}"
connect_timeout: 1
timeout: 1
state: stopped
when:
- container_facts['influxdb'] is not defined
- inventory_hostname in groups['influxdb']