31f7732aef
Add ansible role to deploy blazar Add nova filters to allow use of blazar Change-Id: I6742ddc9a4736f256491dd0cfd31904fa8eb5652 Implements: blueprint blazar-ansible-role
18 lines
408 B
YAML
18 lines
408 B
YAML
---
|
|
- name: Get container facts
|
|
kolla_container_facts:
|
|
name:
|
|
- blazar_api
|
|
register: container_facts
|
|
|
|
- name: Checking free port for blazar API
|
|
wait_for:
|
|
host: "{{ api_interface_address }}"
|
|
port: "{{ blazar_api_port }}"
|
|
connect_timeout: 1
|
|
timeout: 1
|
|
state: stopped
|
|
when:
|
|
- container_facts['blazar_api'] is not defined
|
|
- inventory_hostname in groups['blazar-api']
|