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
This commit is contained in:
Bertrand Lallau 2017-04-20 23:01:08 +02:00
parent 6340f06bb9
commit df259788ba

View File

@ -7,7 +7,7 @@
- name: Checking free port for Kibana Server
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}"
host: "{{ api_interface_address }}"
port: "{{ kibana_server_port }}"
connect_timeout: 1
state: stopped