From 8a5cfe8d77a1d94e5e3714135751f961d4476e13 Mon Sep 17 00:00:00 2001 From: Alejandro Macedo Date: Sun, 21 Jun 2026 05:51:41 -0500 Subject: [PATCH] Change failure condition for image container download (#12321) When installing with `download_run_once`, nerdctl will log to stderr and cause a failure even if the image was saved successfully. Instead we rely on the shell exit code to detect the failure. Signed-off-by: Alejandro Macedo --- roles/download/tasks/download_container.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/download/tasks/download_container.yml b/roles/download/tasks/download_container.yml index 5e67fe8c5..c27043c79 100644 --- a/roles/download/tasks/download_container.yml +++ b/roles/download/tasks/download_container.yml @@ -74,7 +74,6 @@ delegate_to: "{{ download_delegate }}" delegate_facts: false register: container_save_status - failed_when: container_save_status.stderr run_once: true become: "{{ user_can_become_root | default(false) or not download_localhost }}" when: