Merge "add kibana to precheck"
This commit is contained in:
commit
b53988a088
@ -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'] }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user