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

Merge "Move murano precheck into its own role"

parents 4487aaf6 eeac3134
No related branches found
No related tags found
No related merge requests found
......@@ -212,6 +212,17 @@
- "{{ 'mistral_api' not in haproxy_stat }}"
- inventory_hostname in groups['haproxy']
- name: Checking free port for Murano API HAProxy
wait_for:
host: "{{ kolla_internal_vip_address }}"
port: "{{ murano_api_port }}"
connect_timeout: 1
state: stopped
when:
- enable_murano | bool
- "{{ 'murano_api' not in haproxy_stat }}"
- inventory_hostname in groups['haproxy']
- name: Checking free port for Neutron Server HAProxy
wait_for:
host: "{{ kolla_internal_vip_address }}"
......
---
- name: Get container facts
kolla_container_facts:
name:
- murano_api
register: container_facts
- name: Checking free port for Murano API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ murano_api_port }}"
connect_timeout: 1
state: stopped
when:
- container_facts['murano_api'] is not defined
- inventory_hostname in groups['murano-api']
......@@ -173,26 +173,6 @@
- enable_mariadb | bool
- inventory_hostname in groups['mariadb']
- name: Checking free port for Murano API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ murano_api_port }}"
connect_timeout: 1
state: stopped
when:
- enable_murano | bool
- inventory_hostname in groups['murano-api']
- name: Checking free port for Murano API HAProxy
wait_for:
host: "{{ kolla_internal_vip_address }}"
port: "{{ murano_api_port }}"
connect_timeout: 1
state: stopped
when:
- enable_murano | bool
- inventory_hostname in groups['haproxy']
- name: Checking free port for RabbitMQ
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