From 0ea02c20341c8309e66b1ff2c1e903dedf3ce494 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Tue, 30 Aug 2022 15:14:39 -0700 Subject: [PATCH] Multiarch install tweaks for arm64 --- setup-cluster.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup-cluster.yml b/setup-cluster.yml index 353b075..c28dabf 100644 --- a/setup-cluster.yml +++ b/setup-cluster.yml @@ -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