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

+6
View File
@@ -0,0 +1,6 @@
---
# Constants, not inputs: the Docker apt architecture for each ansible_facts['architecture'] the role derives it for. docker_apt_arch
# overrides it for any other architecture.
__docker_arch_by_fact:
x86_64: amd64
aarch64: arm64