Merge "add ceilometer congress to precheck.yml"

This commit is contained in:
Jenkins 2016-10-13 16:43:36 +00:00 committed by Gerrit Code Review
commit 917dccfac8

View File

@ -31,6 +31,38 @@
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Ceilometer API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ ceilometer_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['ceilometer-api']
- name: Checking free port for Ceilometer API HAProxy
wait_for:
host: "{{ kolla_internal_vip_address }}"
port: "{{ ceilometer_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Congress API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ congress_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['congress-api']
- name: Checking free port for Congress API HAProxy
wait_for:
host: "{{ kolla_internal_vip_address }}"
port: "{{ congress_api_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Cinder API
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"