summaryrefslogtreecommitdiffstats
path: root/roles/etcd_upgrade
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-06-09 15:30:54 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-06-10 12:54:02 +0200
commit7e2c88beadfdc788bcb207028fdd97fa7decf9f1 (patch)
treed19bd93e8e41718a01212106bb5dae46f4862289 /roles/etcd_upgrade
parente651d65dc1e3f53c0ad2e587d7392a31e827c905 (diff)
downloadopenshift-7e2c88beadfdc788bcb207028fdd97fa7decf9f1.tar.gz
openshift-7e2c88beadfdc788bcb207028fdd97fa7decf9f1.tar.bz2
openshift-7e2c88beadfdc788bcb207028fdd97fa7decf9f1.tar.xz
openshift-7e2c88beadfdc788bcb207028fdd97fa7decf9f1.zip
set etcd working directory for embedded etcd
Diffstat (limited to 'roles/etcd_upgrade')
-rw-r--r--roles/etcd_upgrade/defaults/main.yml4
-rw-r--r--roles/etcd_upgrade/meta/main.yml1
2 files changed, 3 insertions, 2 deletions
diff --git a/roles/etcd_upgrade/defaults/main.yml b/roles/etcd_upgrade/defaults/main.yml
index 01ad8a268..b61bf526c 100644
--- a/roles/etcd_upgrade/defaults/main.yml
+++ b/roles/etcd_upgrade/defaults/main.yml
@@ -1,8 +1,8 @@
---
r_etcd_upgrade_action: upgrade
r_etcd_upgrade_mechanism: rpm
-r_etcd_upgrade_embedded_etcd: False
-
+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
diff --git a/roles/etcd_upgrade/meta/main.yml b/roles/etcd_upgrade/meta/main.yml
index 018bdc8d7..afdb0267f 100644
--- a/roles/etcd_upgrade/meta/main.yml
+++ b/roles/etcd_upgrade/meta/main.yml
@@ -14,3 +14,4 @@ galaxy_info:
- system
dependencies:
- role: etcd_common
+ r_etcd_common_embedded_etcd: "{{ r_etcd_upgrade_embedded_etcd }}"