2fc6d4cfc5
Depends-On: https://review.openstack.org/#/c/642958 Depends-On: https://review.openstack.org/642984 Change-Id: If795a9eb3ec92f75867ce3f755d6b832eba31af9
21 lines
533 B
YAML
21 lines
533 B
YAML
---
|
|
- name: Get container facts
|
|
kolla_container_facts:
|
|
name:
|
|
- placement_api
|
|
register: container_facts
|
|
|
|
- name: Checking free port for Placement API
|
|
vars:
|
|
placement_api: "{{ placement_services['placement-api'] }}"
|
|
wait_for:
|
|
host: "{{ api_interface_address }}"
|
|
port: "{{ placement_api_port }}"
|
|
connect_timeout: 1
|
|
timeout: 1
|
|
state: stopped
|
|
when:
|
|
- container_facts['placement_api'] is not defined
|
|
- inventory_hostname in groups[placement_api.group]
|
|
- placement_api.enabled | bool
|