Merge "Add kuryr to precheck"

This commit is contained in:
Jenkins 2016-11-02 14:52:20 +00:00 committed by Gerrit Code Review
commit 606295906e

View File

@ -199,6 +199,16 @@
- inventory_hostname in groups['haproxy']
- enable_gnocchi | bool
- name: Checking free port for Kuryr
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ kuryr_port }}"
connect_timeout: 1
state: stopped
when:
- inventory_hostname in groups['compute']
- enable_kuryr | bool
- name: Checking free port for Sahara API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"