summaryrefslogtreecommitdiffstats
path: root/roles/openshift_openstack/tasks/custom_image_check.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_openstack/tasks/custom_image_check.yaml')
-rw-r--r--roles/openshift_openstack/tasks/custom_image_check.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_openstack/tasks/custom_image_check.yaml b/roles/openshift_openstack/tasks/custom_image_check.yaml
index 4fbd6a687..4ae163406 100644
--- a/roles/openshift_openstack/tasks/custom_image_check.yaml
+++ b/roles/openshift_openstack/tasks/custom_image_check.yaml
@@ -1,10 +1,10 @@
---
- name: Try to get image facts
os_image_facts:
- image: "{{ image }}"
+ image: "{{ item }}"
register: image_result
- name: Check that custom image is available
assert:
that: "image_result.ansible_facts.openstack_image"
- msg: "Image {{ image }} is not available."
+ msg: "Image {{ item }} is not available."