From d2c44dd4df3f69ee0adad7085b5d3655a77bdca0 Mon Sep 17 00:00:00 2001 From: Moritz Graf <github@moritzgraf.de> Date: Wed, 26 Feb 2020 09:18:26 +0100 Subject: [PATCH] Modifying Ansible filter 'failed' according to Ansible 2.5 porting guide (#5678) --- roles/download/tasks/download_container.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- GitLab