mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-06-21 21:13:49 +03:00
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 <alex.macedopereira@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user