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:
Florian Fuchs 2017-07-12 16:16:42 +02:00 committed by Gael Chamoulaud
parent 68d112edef
commit 97ae1217df
1 changed files with 1 additions and 1 deletions

View File

@ -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