Skip to content

nerdctl offline files will not be downloaded because of unsupported system version #12918

@burxtx

Description

@burxtx

What happened?

I've been preparing an offline environment on my MacBook. After the files.list generated, nerdctl and crictl are listed as "darwin" versions, which can not be found on their github release pages.

https://github.com/containerd/nerdctl/releases/download/v2.2.1/nerdctl-2.2.1-darwin-arm64.tar.gz

I found that other packages are all hard-coded as "linux" in download.yml, only nerdctl and crictl are marked as {{ ansible_system | lower }}.

What did you expect to happen?

I think the generate_files.sh script should be able to run on any system with internet access to collect the correct version.

How can we reproduce it (as minimally and precisely as possible)?

source ./generate_files.sh

OS

Other|Unsupported

Version of Ansible

ansible [core 2.17.14]

Version of Python

Python 3.13.2

Version of Kubespray (commit)

37f7a86

Network plugin used

calico

Full inventory with variables

not appliable

Command used to invoke ansible

not appliable

Output of ansible run

not appliable

Anything else we need to know

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions