diff --git a/roles/download/tasks/download_container.yml b/roles/download/tasks/download_container.yml index b71807f1f..c3875e99c 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