Merge "add cloudkitty port prechecks"
This commit is contained in:
commit
6f5c9e5fa1
@ -31,6 +31,22 @@
|
|||||||
state: stopped
|
state: stopped
|
||||||
when: inventory_hostname in groups['haproxy']
|
when: inventory_hostname in groups['haproxy']
|
||||||
|
|
||||||
|
- name: Checking free port for Cloudkitty API
|
||||||
|
wait_for:
|
||||||
|
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
|
||||||
|
port: "{{ cloudkitty_api_port }}"
|
||||||
|
connect_timeout: 1
|
||||||
|
state: stopped
|
||||||
|
when: inventory_hostname in groups['cloudkitty-api']
|
||||||
|
|
||||||
|
- name: Checking free port for Cloudkitty API HAProxy
|
||||||
|
wait_for:
|
||||||
|
host: "{{ kolla_internal_vip_address }}"
|
||||||
|
port: "{{ cloudkitty_api_port }}"
|
||||||
|
connect_timeout: 1
|
||||||
|
state: stopped
|
||||||
|
when: inventory_hostname in groups['haproxy']
|
||||||
|
|
||||||
- name: Checking free port for Glance API
|
- name: Checking free port for Glance API
|
||||||
wait_for:
|
wait_for:
|
||||||
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
|
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user