Add Checking free port for Manila API

TrivialFix

Change-Id: I583e1a5a2563b0b0617b5ab0c304fe2092d827bc
This commit is contained in:
Mauricio Lima 2016-09-08 10:21:33 -04:00
parent 15228232e1
commit ffe56f8b1d

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