add ETCD_UNSUPPORTED_ARCH=arm64 flag
This commit is contained in:
parent
247b9e83d8
commit
f67933d2ac
1 changed files with 3 additions and 0 deletions
3
roles/etcd/templates/etcd.j2
Normal file → Executable file
3
roles/etcd/templates/etcd.j2
Normal file → Executable 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 \
|
||||
|
|
Loading…
Reference in a new issue