Multiarch install tweaks for arm64

This commit is contained in:
IamTheFij 2022-08-30 15:14:39 -07:00
parent c073f78ed2
commit 6fe1d472d0

View File

@ -223,7 +223,7 @@
hosts: nomad_instances
become: true
vars:
deb_arch: "{% if ansible_architecture == 'x86_64' %}amd64{% elif ansible_architecture == 'armv7l' %}armhf{% endif %}"
deb_arch: "{% if ansible_architecture == 'x86_64' %}amd64{% elif ansible_architecture == 'armv7l' %}armhf{% elif ansible_architecture == 'aarch64' %}arm64{% endif %}"
docker_apt_arch: "{{ deb_arch }}"
docker_compose_arch: "{{ (ansible_architecture == 'armv7l') | ternary('armv7', ansible_architecture) }}"
roles:
@ -276,6 +276,7 @@
x86_64: amd64
armhfv6: arm
armv7l: arm
aarch64: arm64
nomad_autopilot: true
nomad_encrypt_enable: true