summaryrefslogtreecommitdiffstats
path: root/roles/etcd_common
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-09-19 09:44:37 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-09-21 16:47:01 +0200
commit2c8d16c36b8eec5c2a82fb5da7291736654e55f2 (patch)
tree538abc2a50573e3463ab5cd04aefaf2de8369db5 /roles/etcd_common
parentaf580f808d78667bde54b88d4c33fca493828945 (diff)
downloadopenshift-2c8d16c36b8eec5c2a82fb5da7291736654e55f2.tar.gz
openshift-2c8d16c36b8eec5c2a82fb5da7291736654e55f2.tar.bz2
openshift-2c8d16c36b8eec5c2a82fb5da7291736654e55f2.tar.xz
openshift-2c8d16c36b8eec5c2a82fb5da7291736654e55f2.zip
consolidate etcd_upgrade role
Diffstat (limited to 'roles/etcd_common')
-rw-r--r--roles/etcd_common/defaults/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/etcd_common/defaults/main.yml b/roles/etcd_common/defaults/main.yml
index b67411f40..6705e1ac5 100644
--- a/roles/etcd_common/defaults/main.yml
+++ b/roles/etcd_common/defaults/main.yml
@@ -73,3 +73,6 @@ etcd_advertise_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_clien
etcd_listen_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_client_port }}"
etcd_systemd_dir: "/etc/systemd/system/{{ etcd_service }}.service.d"
+
+# etcd_peer needs to be set by a role caller
+etcdctlv2: "etcdctl --cert-file {{ etcd_peer_cert_file }} --key-file {{ etcd_peer_key_file }} --ca-file {{ etcd_peer_ca_file }} -C https://{{ etcd_peer }}:{{ etcd_client_port }}"