Merge "add magnum to precheck"
This commit is contained in:
commit
dbf05f076f
@ -271,6 +271,22 @@
|
|||||||
state: stopped
|
state: stopped
|
||||||
when: inventory_hostname in groups['tgtd']
|
when: inventory_hostname in groups['tgtd']
|
||||||
|
|
||||||
|
- name: Checking free port for Magnum API
|
||||||
|
wait_for:
|
||||||
|
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
|
||||||
|
port: "{{ magnum_api_port }}"
|
||||||
|
connect_timeout: 1
|
||||||
|
state: stopped
|
||||||
|
when: inventory_hostname in groups['magnum-api']
|
||||||
|
|
||||||
|
- name: Checking free port for Magnum API HAProxy
|
||||||
|
wait_for:
|
||||||
|
host: "{{ kolla_internal_vip_address }}"
|
||||||
|
port: "{{ magnum_api_port }}"
|
||||||
|
connect_timeout: 1
|
||||||
|
state: stopped
|
||||||
|
when: inventory_hostname in groups['haproxy']
|
||||||
|
|
||||||
- name: Checking free port for MariaDB
|
- name: Checking free port for MariaDB
|
||||||
wait_for:
|
wait_for:
|
||||||
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
|
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user