Merge "Update the location of Glance Registry HAProxy checks"

This commit is contained in:
Jenkins 2016-10-13 15:38:45 +00:00 committed by Gerrit Code Review
commit 67237bd081

View File

@ -87,6 +87,14 @@
state: stopped
when: inventory_hostname in groups['glance-registry']
- name: Checking free port for Glance Registry HAProxy
wait_for:
host: "{{ kolla_internal_vip_address }}"
port: "{{ glance_registry_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Gnocchi API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
@ -103,14 +111,6 @@
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Glance Registry HAProxy
wait_for:
host: "{{ kolla_internal_vip_address }}"
port: "{{ glance_registry_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Sahara API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"