Merge "add influxdb to precheck"

This commit is contained in:
Jenkins 2016-10-19 12:19:54 +00:00 committed by Gerrit Code Review
commit 21bc93af4a

View File

@ -247,6 +247,22 @@
state: stopped
when: inventory_hostname in groups['haproxy']
- name: Checking free port for Influxdb Admin
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ influxdb_admin_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['influxdb']
- name: Checking free port for Influxdb Http
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"
port: "{{ influxdb_http_port }}"
connect_timeout: 1
state: stopped
when: inventory_hostname in groups['influxdb']
- name: Checking free port for Keystone Admin
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"