From 7583c964d123d8aa8930c8547d9543f7c368cc1d Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez <dabarren@gmail.com> Date: Fri, 31 Mar 2017 13:18:10 +0100 Subject: [PATCH] Fix designate prechecks Using "{{ item }}" is causing wrong fact assignment and tries to check port when containers are running. Closes-Bug: #1678102 Change-Id: I659e1c1828b9d82ef9d5bad81021a655cac21478 --- ansible/roles/designate/tasks/precheck.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ansible/roles/designate/tasks/precheck.yml b/ansible/roles/designate/tasks/precheck.yml index 546547cb21..46885de368 100644 --- a/ansible/roles/designate/tasks/precheck.yml +++ b/ansible/roles/designate/tasks/precheck.yml @@ -2,12 +2,10 @@ - name: Get container facts kolla_container_facts: name: - - "{{ item }}" + - designate_api + - designate_backend_bind9 + - designate_mdns register: container_facts - with_items: - - designate_api - - designate_backend_bind9 - - designate_mdns - name: Checking free port for designate API wait_for: