Merge "add kibana to precheck"

This commit is contained in:
Jenkins 2016-10-14 11:24:35 +00:00 committed by Gerrit Code Review
commit b53988a088

View File

@ -521,6 +521,14 @@
state: stopped state: stopped
when: inventory_hostname in groups['haproxy'] 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 - name: Checking free port for Rsync
wait_for: wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}" host: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}"