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
@@ -0,0 +1,7 @@
|
||||
---
|
||||
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.
|
||||
Reference in new issue
Block a user