add ETCD_UNSUPPORTED_ARCH=arm64 flag

This commit is contained in:
Antoine Legrand 2018-08-20 16:15:33 +02:00
parent 247b9e83d8
commit f67933d2ac

3
roles/etcd/templates/etcd.j2 Normal file → Executable file
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 \