Skip to content
Snippets Groups Projects
Commit 740e68cc authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "add sahara port prechecks"

parents b27f1138 01d16a85
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,22 @@
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Sahara API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ sahara_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['sahara-api']
- name: Checking free port for Sahara API HAProxy
wait_for:
host: "{{ kolla_internal_vip_address }}"
port: "{{ sahara_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for HAProxy stats
wait_for:
host: "{{ kolla_internal_vip_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