Files
Kamino/changelogs/fragments/docker-apt-arch-from-host.yml
T
Dragonish ba96e98585
Build / build (pull_request) Successful in 19s
Molecule / molecule (pull_request) Canceled after 0s
Lint / lint (pull_request) Canceled after 25s
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
2026-11-23 19:30:31 +00:00

8 lines
545 B
YAML

---
minor_changes:
- >-
docker - ``docker_apt_arch`` now defaults to an empty value that derives the apt architecture from the host (``x86_64`` gives ``amd64``,
``aarch64`` gives ``arm64``) instead of always writing ``amd64``, so an arm64 host no longer needs an override. A value set in the inventory
is used as before. A host with any other architecture fails the play with a message that names ``docker_apt_arch`` instead of getting an
``amd64`` source line that its apt cannot use; set ``docker_apt_arch`` for such a host.