summaryrefslogtreecommitdiffstats
path: root/roles/etcd_upgrade/defaults
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-06-14 09:32:02 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-06-14 09:48:24 +0200
commit9e2fcb48c36b9478e34b93ed0025c6b77b7ad597 (patch)
treec0a833746bedbcc6043f7e9ee08b76a088ee793d /roles/etcd_upgrade/defaults
parent8ab1f771de34c52b1c85493a0002ac12952a0ed5 (diff)
downloadopenshift-9e2fcb48c36b9478e34b93ed0025c6b77b7ad597.tar.gz
openshift-9e2fcb48c36b9478e34b93ed0025c6b77b7ad597.tar.bz2
openshift-9e2fcb48c36b9478e34b93ed0025c6b77b7ad597.tar.xz
openshift-9e2fcb48c36b9478e34b93ed0025c6b77b7ad597.zip
move etcd backup to etcd_common role
Diffstat (limited to 'roles/etcd_upgrade/defaults')
-rw-r--r--roles/etcd_upgrade/defaults/main.yml6
1 files changed, 0 insertions, 6 deletions
diff --git a/roles/etcd_upgrade/defaults/main.yml b/roles/etcd_upgrade/defaults/main.yml
index b61bf526c..61bbba225 100644
--- a/roles/etcd_upgrade/defaults/main.yml
+++ b/roles/etcd_upgrade/defaults/main.yml
@@ -1,9 +1,3 @@
---
r_etcd_upgrade_action: upgrade
r_etcd_upgrade_mechanism: rpm
-r_etcd_upgrade_embedded_etcd: false
-r_etcd_common_embedded_etcd: "{{ r_etcd_upgrade_embedded_etcd }}"
-# etcd run on a host => use etcdctl command directly
-# etcd run as a docker container => use docker exec
-# etcd run as a runc container => use runc exec
-etcdctl_command: "{{ 'etcdctl' if r_etcd_common_etcd_runtime == 'host' or r_etcd_upgrade_embedded_etcd | bool else 'docker exec etcd_container etcdctl' if r_etcd_common_etcd_runtime == 'docker' else 'runc exec etcd etcdctl' }}"