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
7 lines
236 B
YAML
7 lines
236 B
YAML
---
|
|
# 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
|