From 93a5a5c322884f6f9c2142ddf42ba311e2a92855 Mon Sep 17 00:00:00 2001 From: caoyuan Date: Wed, 1 Mar 2017 09:36:17 +0800 Subject: [PATCH] Fix the ironic tasks name - add the missing "API" Change-Id: I06ccf48047d1b4ea493d169f78d95c09b7945a27 --- ansible/roles/haproxy/tasks/precheck.yml | 2 +- ansible/roles/ironic/tasks/precheck.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/haproxy/tasks/precheck.yml b/ansible/roles/haproxy/tasks/precheck.yml index ea8b6e49ab..20779bb128 100644 --- a/ansible/roles/haproxy/tasks/precheck.yml +++ b/ansible/roles/haproxy/tasks/precheck.yml @@ -190,7 +190,7 @@ - inventory_hostname in groups['haproxy'] - "{{ 'horizon' not in haproxy_stat }}" -- name: Checking free port for Ironic HAProxy +- name: Checking free port for Ironic API HAProxy wait_for: host: "{{ kolla_internal_vip_address }}" port: "{{ ironic_api_port }}" diff --git a/ansible/roles/ironic/tasks/precheck.yml b/ansible/roles/ironic/tasks/precheck.yml index 0289b5ec3c..1476d24b01 100644 --- a/ansible/roles/ironic/tasks/precheck.yml +++ b/ansible/roles/ironic/tasks/precheck.yml @@ -6,7 +6,7 @@ - ironic_inspector register: container_facts -- name: Checking free port for Ironic +- name: Checking free port for Ironic API wait_for: host: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}" port: "{{ ironic_api_port }}"