kolla-ansible/ansible/roles/blazar/tasks/precheck.yml
Eduardo Gonzalez 31f7732aef Implement blazar ansible role
Add ansible role to deploy blazar
Add nova filters to allow use of blazar

Change-Id: I6742ddc9a4736f256491dd0cfd31904fa8eb5652
Implements: blueprint blazar-ansible-role
2018-01-03 16:36:54 +00:00

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']