From 3c645f1e31bb3ef738872af4eda4059faebfdcd6 Mon Sep 17 00:00:00 2001 From: zhubingbing <1392607554@qq.com> Date: Wed, 28 Sep 2016 08:51:30 +0000 Subject: [PATCH] add kibana to precheck TrivialFix Change-Id: I47fa57087258bad33ad21033f76f4fb2bf5f6f31 --- ansible/roles/prechecks/tasks/port_checks.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ansible/roles/prechecks/tasks/port_checks.yml b/ansible/roles/prechecks/tasks/port_checks.yml index 6c741cd8ac..e265309caf 100644 --- a/ansible/roles/prechecks/tasks/port_checks.yml +++ b/ansible/roles/prechecks/tasks/port_checks.yml @@ -473,6 +473,14 @@ state: stopped when: inventory_hostname in groups['haproxy'] +- 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: inventory_hostname in groups['kibana'] + - name: Checking free port for Rsync wait_for: host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}"