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: