From 97ae1217df387dbea828ee5f942def9217609676 Mon Sep 17 00:00:00 2001 From: Florian Fuchs Date: Wed, 12 Jul 2017 16:16:42 +0200 Subject: [PATCH] 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 712f741f74845c4103a760e55b7dfa412f72186a) --- validations/deployment-images.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validations/deployment-images.yaml b/validations/deployment-images.yaml index 19a10ab9a..a3eb8095c 100644 --- a/validations/deployment-images.yaml +++ b/validations/deployment-images.yaml @@ -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