set ETCDCTL_ENDPOINT for etcdctl

This commit is contained in:
Anton Nerozya 2017-07-13 15:55:16 +02:00
parent 848a689905
commit 23b95a4146

View file

@ -1,5 +1,6 @@
ETCD_DATA_DIR={{ etcd_data_dir }} ETCD_DATA_DIR={{ etcd_data_dir }}
ETCD_ADVERTISE_CLIENT_URLS={{ etcd_client_url }} ETCD_ADVERTISE_CLIENT_URLS={{ etcd_client_url }}
ETCDCTL_ENDPOINT=https://127.0.0.1:2379
ETCD_INITIAL_ADVERTISE_PEER_URLS={{ etcd_peer_url }} ETCD_INITIAL_ADVERTISE_PEER_URLS={{ etcd_peer_url }}
ETCD_INITIAL_CLUSTER_STATE={% if etcd_cluster_is_healthy.rc != 0 | bool %}new{% else %}existing{% endif %} ETCD_INITIAL_CLUSTER_STATE={% if etcd_cluster_is_healthy.rc != 0 | bool %}new{% else %}existing{% endif %}