303998e294
This change also adds support for Trove backend TLS. Depends-On: https://review.opendev.org/c/openstack/kolla/+/854744 Change-Id: I2acf7820b24b112b57b0c00a01f5c4b8cb85ce25
27 lines
642 B
YAML
27 lines
642 B
YAML
---
|
|
- import_role:
|
|
name: service-precheck
|
|
vars:
|
|
service_precheck_services: "{{ trove_services }}"
|
|
service_name: "{{ project_name }}"
|
|
|
|
- name: Get container facts
|
|
become: true
|
|
kolla_container_facts:
|
|
container_engine: "{{ kolla_container_engine }}"
|
|
name:
|
|
- trove_api
|
|
check_mode: false
|
|
register: container_facts
|
|
|
|
- name: Checking free port for Trove API
|
|
wait_for:
|
|
host: "{{ api_interface_address }}"
|
|
port: "{{ trove_api_listen_port }}"
|
|
connect_timeout: 1
|
|
timeout: 1
|
|
state: stopped
|
|
when:
|
|
- container_facts['trove_api'] is not defined
|
|
- inventory_hostname in groups['trove-api']
|