diff --git a/playbooks/functional-test/docker-buildset.yaml b/playbooks/functional-test/docker-buildset.yaml index 4f7f1bd..558251c 100644 --- a/playbooks/functional-test/docker-buildset.yaml +++ b/playbooks/functional-test/docker-buildset.yaml @@ -53,9 +53,9 @@ - name: Print list of images command: docker image ls --all --digests --no-trunc register: image_list - failed_when: - - "'test/image' in image_list.stdout" - - "'alpine' in image_list.stdout" + failed_when: > + ('test/image' in image_list.stdout) or + ('alpine' in image_list.stdout) - name: Pull the image from the buildset registry command: docker pull test/image diff --git a/playbooks/functional-test/podman-buildset.yaml b/playbooks/functional-test/podman-buildset.yaml index 5f118bf..caa22fa 100644 --- a/playbooks/functional-test/podman-buildset.yaml +++ b/playbooks/functional-test/podman-buildset.yaml @@ -50,10 +50,10 @@ - name: Print list of images command: podman image ls --all --digests --no-trunc register: image_list - failed_when: - - "'test/image' in image_list.stdout" - - "'test/quay-image' in image_list.stdout" - - "'alpine' in image_list.stdout" + failed_when: > + ('test/image' in image_list.stdout) or + ('test/quay-image' in image_list.stdout) or + ('alpine' in image_list.stdout) - name: Pull the shadowed docker image from the registry command: podman pull test/image