add ETCD_UNSUPPORTED_ARCH=arm64 flag

pull/3140/head
Antoine Legrand 2018-08-20 16:15:33 +02:00
parent 247b9e83d8
commit f67933d2ac
1 changed files with 3 additions and 0 deletions

3
roles/etcd/templates/etcd.j2 100644 → 100755
View File

@ -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 \