feat(docker): derive the apt architecture from the host
docker_apt_arch defaults to empty, which derives amd64 or arm64 from the host architecture; another architecture fails the play, and a set value is always used. Assisted-by: Claude Code
This commit is contained in:
1 parent
bca13f4139
commit
ba96e98585
10 files changed
+77
-7
No files matched your search
@@ -13,8 +13,9 @@ docker_apt_list_path: /etc/apt/sources.list.d/docker.list
|
||||
docker_gpg_url: https://download.docker.com/linux/ubuntu/gpg
|
||||
docker_repo_base_url: https://download.docker.com/linux/ubuntu
|
||||
|
||||
# Override per host if a host is not amd64.
|
||||
docker_apt_arch: amd64
|
||||
# Architecture written into the APT source. Empty (the default) derives it from the host: x86_64 gives amd64, aarch64 gives arm64, any
|
||||
# other architecture fails the play, so set it here (for example armhf) when Docker publishes one for it.
|
||||
docker_apt_arch: ""
|
||||
|
||||
docker_service: docker
|
||||
docker_group: docker
|
||||
|
||||
Reference in new issue
Block a user