Merge "Add Checking free port for Manila API"

This commit is contained in:
Jenkins 2016-09-12 18:38:28 +00:00 committed by Gerrit Code Review
commit e1b9608733

View File

@ -215,6 +215,22 @@
state: stopped
when: inventory_hostname in groups['mariadb']
- name: Checking free port for Manila API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ manila_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['manila-api']
- name: Checking free port for Manila API HAProxy
wait_for:
host: "{{ kolla_internal_vip_address }}"
port: "{{ manila_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Memcached
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"