summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-10-23 15:16:09 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-10-23 15:16:09 +0200
commit9c76790c3f27acf7682858616d7e9948de7a5160 (patch)
tree0153e18e01106f278c2e89b79ca3233fb7d84f9f
parent1ecc095a4d7d43f37f39268c3e05e6d74be27fb6 (diff)
downloadopenshift-9c76790c3f27acf7682858616d7e9948de7a5160.tar.gz
openshift-9c76790c3f27acf7682858616d7e9948de7a5160.tar.bz2
openshift-9c76790c3f27acf7682858616d7e9948de7a5160.tar.xz
openshift-9c76790c3f27acf7682858616d7e9948de7a5160.zip
Set the proper external etcd ip address when migrating embeded etcd
-rw-r--r--playbooks/common/openshift-etcd/embedded2external.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-etcd/embedded2external.yml b/playbooks/common/openshift-etcd/embedded2external.yml
index 9264f3c32..b16b78c4f 100644
--- a/playbooks/common/openshift-etcd/embedded2external.yml
+++ b/playbooks/common/openshift-etcd/embedded2external.yml
@@ -158,7 +158,7 @@
tasks_from: configure_external_etcd
vars:
etcd_peer_url_scheme: "https"
- etcd_ip: "{{ openshift.common.ip }}"
+ etcd_ip: "{{ hostvars[groups.oo_etcd_to_config.0].openshift.common.ip }}"
etcd_peer_port: 2379
# 9. start the master