add etcd to precheck
add etcd client port and etcd peer port to precheck TrivialFix Change-Id: Iac10d82b77c7b38a472e0bea9f1e73c36db775b9
This commit is contained in:
parent
622c88ec99
commit
300c2bd3cd
@ -63,6 +63,22 @@
|
||||
state: stopped
|
||||
when: inventory_hostname in groups['haproxy']
|
||||
|
||||
- name: Checking free port for Etcd Peer
|
||||
wait_for:
|
||||
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
|
||||
port: "{{ etcd_peer_port }}"
|
||||
connect_timeout: 1
|
||||
state: stopped
|
||||
when: inventory_hostname in groups['etcd']
|
||||
|
||||
- name: Checking free port for Etcd Client
|
||||
wait_for:
|
||||
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
|
||||
port: "{{ etcd_client_port }}"
|
||||
connect_timeout: 1
|
||||
state: stopped
|
||||
when: inventory_hostname in groups['etcd']
|
||||
|
||||
- name: Checking free port for Glance API
|
||||
wait_for:
|
||||
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user