diff --git a/roles/download/tasks/download_container.yml b/roles/download/tasks/download_container.yml
index b71807f1f9fa343bd2f0947ef9ead2cff7014878..c3875e99cf51970aaf704831d45d2addcba6f189 100644
--- a/roles/download/tasks/download_container.yml
+++ b/roles/download/tasks/download_container.yml
@@ -57,7 +57,7 @@
       delegate_to: "{{ download_delegate if download_run_once else inventory_hostname }}"
       run_once: "{{ download_run_once }}"
       register: container_load_status
-      failed_when: container_load_status | failed
+      failed_when: container_load_status is failed
       become: "{{ user_can_become_root | default(false) or not (download_run_once and download_localhost) }}"
       when:
         - download_force_cache