From f67933d2ac0b4c02d8f8411b890aae5550b36bcf Mon Sep 17 00:00:00 2001 From: Antoine Legrand <2t.antoine@gmail.com> Date: Mon, 20 Aug 2018 16:15:33 +0200 Subject: [PATCH] add ETCD_UNSUPPORTED_ARCH=arm64 flag --- roles/etcd/templates/etcd.j2 | 3 +++ 1 file changed, 3 insertions(+) mode change 100644 => 100755 roles/etcd/templates/etcd.j2 diff --git a/roles/etcd/templates/etcd.j2 b/roles/etcd/templates/etcd.j2 old mode 100644 new mode 100755 index a6628d8fb..bd830e403 --- a/roles/etcd/templates/etcd.j2 +++ b/roles/etcd/templates/etcd.j2 @@ -3,6 +3,9 @@ --restart=on-failure:5 \ --env-file=/etc/etcd.env \ --net=host \ + {% if ansible_architecture == "aarch64" -%} + -e ETCD_UNSUPPORTED_ARCH=arm64 \ + {%- endif %} -v /etc/ssl/certs:/etc/ssl/certs:ro \ -v {{ etcd_cert_dir }}:{{ etcd_cert_dir }}:ro \ -v {{ etcd_data_dir }}:{{ etcd_data_dir }}:rw \