summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-04-21 09:43:39 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-04-21 09:43:39 -0400
commit2903d04eac55a34d669c53968f3ac69d263d3279 (patch)
tree3f191d771419d1386c5644492e6e1d75d9946ba5
parenta724e27225775ae0d53154b831c5abd637c9a293 (diff)
downloadopenshift-2903d04eac55a34d669c53968f3ac69d263d3279.tar.gz
openshift-2903d04eac55a34d669c53968f3ac69d263d3279.tar.bz2
openshift-2903d04eac55a34d669c53968f3ac69d263d3279.tar.xz
openshift-2903d04eac55a34d669c53968f3ac69d263d3279.zip
Set etcd_hostname and etcd_ip for masters w/ external etcd.
-rw-r--r--playbooks/common/openshift-master/config.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index e0bd34011..c9d94bec5 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -82,6 +82,8 @@
etcd_cert_subdir: openshift-master-{{ openshift.common.hostname }}
etcd_cert_config_dir: "{{ openshift.common.config_base }}/master"
etcd_cert_prefix: master.etcd-
+ etcd_hostname: "{{ openshift.common.hostname }}"
+ etcd_ip: "{{ openshift.common.ip }}"
when: groups.oo_etcd_to_config is defined and groups.oo_etcd_to_config
- name: Create temp directory for syncing certs