Add kuryr to precheck

TrivialFix
Change-Id: Ia7bfa714521366818d848d924aa728819c97982a
This commit is contained in:
zhubingbing 2016-09-28 08:31:01 +00:00
parent 0d5407d55e
commit 4255c3b644
No known key found for this signature in database
GPG Key ID: EE9630454C697F21

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