Multiarch install tweaks for arm64
This commit is contained in:
parent
0ad777c76f
commit
0ea02c2034
@ -223,7 +223,7 @@
|
|||||||
hosts: nomad_instances
|
hosts: nomad_instances
|
||||||
become: true
|
become: true
|
||||||
vars:
|
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_apt_arch: "{{ deb_arch }}"
|
||||||
docker_compose_arch: "{{ (ansible_architecture == 'armv7l') | ternary('armv7', ansible_architecture) }}"
|
docker_compose_arch: "{{ (ansible_architecture == 'armv7l') | ternary('armv7', ansible_architecture) }}"
|
||||||
roles:
|
roles:
|
||||||
@ -276,6 +276,7 @@
|
|||||||
x86_64: amd64
|
x86_64: amd64
|
||||||
armhfv6: arm
|
armhfv6: arm
|
||||||
armv7l: arm
|
armv7l: arm
|
||||||
|
aarch64: arm64
|
||||||
|
|
||||||
nomad_autopilot: true
|
nomad_autopilot: true
|
||||||
nomad_encrypt_enable: true
|
nomad_encrypt_enable: true
|
||||||
|
Loading…
Reference in New Issue
Block a user