Skip to content
Snippets Groups Projects
Commit 982e3bff authored by zhubingbing's avatar zhubingbing
Browse files

add magnum to precheck

TrivialFix

Change-Id: Ib9b199c2edcc48972491b46b41ae502953cd8a81
parent 622c88ec
No related branches found
No related tags found
No related merge requests found
......@@ -239,6 +239,22 @@
state: stopped
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
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment