Fix `when` statement in deployment image validation
The `when` statement in the "Check for required images" task is breaking
with Ansible 2.3
Change-Id: I50cd26aa8e8f6aa04361f64d5d0d2135163b3249
(cherry picked from commit 712f741f74
)
This commit is contained in:
parent
68d112edef
commit
97ae1217df
|
@ -15,7 +15,7 @@
|
|||
|
||||
- name: Check for required images
|
||||
fail: msg="The image {{ item }} is missing."
|
||||
when: '"{{ item }}" not in "{{ shell_result.stdout }}"'
|
||||
when: "item not in shell_result.stdout"
|
||||
with_items:
|
||||
- bm-deploy-kernel
|
||||
- bm-deploy-ramdisk
|
||||
|
|
Loading…
Reference in New Issue