summaryrefslogtreecommitdiffstats
path: root/roles/etcd_upgrade/vars
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-05-12 16:07:34 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-05-18 12:33:16 +0200
commit4fcbe72aeaf359d56ac636a8722f817ec10c629f (patch)
tree93436888a90064b447d60cfa7f365100b81af823 /roles/etcd_upgrade/vars
parentf186712088f8e14d7f90a010d0f2cb250e24ee42 (diff)
downloadopenshift-4fcbe72aeaf359d56ac636a8722f817ec10c629f.tar.gz
openshift-4fcbe72aeaf359d56ac636a8722f817ec10c629f.tar.bz2
openshift-4fcbe72aeaf359d56ac636a8722f817ec10c629f.tar.xz
openshift-4fcbe72aeaf359d56ac636a8722f817ec10c629f.zip
move etcd upgrade related code into etcd_upgrade role
Diffstat (limited to 'roles/etcd_upgrade/vars')
-rw-r--r--roles/etcd_upgrade/vars/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/etcd_upgrade/vars/main.yml b/roles/etcd_upgrade/vars/main.yml
new file mode 100644
index 000000000..5ed919d42
--- /dev/null
+++ b/roles/etcd_upgrade/vars/main.yml
@@ -0,0 +1,3 @@
+---
+# EXPECTS etcd_peer
+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 }}"