summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2014-10-24 09:14:59 -0700
committerJhon Honce <jhonce@redhat.com>2014-10-24 09:14:59 -0700
commitee36a0b89fe886689d35cbbb5b4ff57cb05d31d0 (patch)
tree7e131fb97c32bbb83c30b59f95954559fbe5e45f /roles/openshift_master
parent76f40b0774056ade74bd1f79a51c0deb187d628d (diff)
downloadopenshift-ee36a0b89fe886689d35cbbb5b4ff57cb05d31d0.tar.gz
openshift-ee36a0b89fe886689d35cbbb5b4ff57cb05d31d0.tar.bz2
openshift-ee36a0b89fe886689d35cbbb5b4ff57cb05d31d0.tar.xz
openshift-ee36a0b89fe886689d35cbbb5b4ff57cb05d31d0.zip
Add comments explaining changing the master/minion hostnames
* openshift forces resolving all minions to hostnames to query etcd keys rather than using the IP address
Diffstat (limited to 'roles/openshift_master')
-rw-r--r--roles/openshift_master/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 4757dc9e7..3cfb2dd7d 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -3,7 +3,8 @@
- name: Install Origin
yum: pkg=origin state=installed
-- name: Set hostname to IP Addr
+ # fixme: Once openshift stops resolving hostnames for minion queries remove this...
+- name: Set hostname to IP Addr (WORKAROUND)
command: /usr/bin/hostname {{ oo_bind_ip }}
- name: Configure OpenShift Master settings