feat(docker): derive the apt architecture from the host
Build / build (pull_request) Successful in 19s
Molecule / molecule (pull_request) Canceled after 0s
Lint / lint (pull_request) Canceled after 25s

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:
Dragonish committed 2026-11-23 19:30:31 +00:00
1 parent bca13f4139
commit ba96e98585
10 files changed
+77 -7

No files matched your search

+5 -2
View File
@@ -56,9 +56,12 @@ argument_specs:
- Base URL of the repository. The source line uses C(ansible_distribution_release) and the C(stable) component.
docker_apt_arch:
type: str
default: amd64
default: ""
description:
- Architecture written into the APT source. Override per host if a host is not amd64.
- >-
Architecture written into the APT source. Empty (the default) derives it from the host: C(x86_64) gives C(amd64), C(aarch64)
gives C(arm64). Any other host architecture fails the play, so set this to the name Docker publishes for it. Lowercase letters
and digits only. A value set here is always used.
docker_service:
type: str
default: docker