aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorzhubingbing <1392607554@qq.com>2016-09-28 08:51:30 +0000
committerzhubingbing <1392607554@qq.com>2016-10-14 02:02:39 +0000
commit3c645f1e31bb3ef738872af4eda4059faebfdcd6 (patch)
tree60f47ccde6830bf5b6f474fd1a7f5f7f215d0df1 /ansible
parent622c88ec99c537fec3bd66d913b82ce3462e8a3a (diff)
downloadkolla-3c645f1e31bb3ef738872af4eda4059faebfdcd6.tar.gz
kolla-3c645f1e31bb3ef738872af4eda4059faebfdcd6.zip
add kibana to precheck
TrivialFix Change-Id: I47fa57087258bad33ad21033f76f4fb2bf5f6f31
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/prechecks/tasks/port_checks.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/roles/prechecks/tasks/port_checks.yml b/ansible/roles/prechecks/tasks/port_checks.yml
index 6c741cd8a..e265309ca 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'] }}"