---
- name: Get container facts
  kolla_container_facts:
    name:
      - kibana
  register: container_facts

- name: Checking free port for Kibana Server
  wait_for:
    host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}"
    port: "{{ kibana_server_port }}"
    connect_timeout: 1
    state: stopped
  when:
    - container_facts['kibana'] is not defined
    - inventory_hostname in groups['kibana']

---
- name: Get container facts
  kolla_container_facts:
    name:
      - kibana
  register: container_facts

- name: Checking free port for Kibana Server
  wait_for:
    host: "{{ api_interface_address }}"
    port: "{{ kibana_server_port }}"
    connect_timeout: 1
    state: stopped
  when:
    - container_facts['kibana'] is not defined
    - inventory_hostname in groups['kibana']

Fix Kibana checking free port interface
Fix Kibana checking free port interface

In "Checking free port for Kibana Server" task the storage interface is
used instead of the api interface one.
This patch fix it.

Change-Id: I0b38688aa3774ae4a629cce3161a730fff907a9c
