summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2014-10-24 09:16:47 -0700
committerJhon Honce <jhonce@redhat.com>2014-10-24 09:16:47 -0700
commitb08cc0b87599bca63e8723de3fdcd2402e23c3fe (patch)
tree7e131fb97c32bbb83c30b59f95954559fbe5e45f
parent76f40b0774056ade74bd1f79a51c0deb187d628d (diff)
parentee36a0b89fe886689d35cbbb5b4ff57cb05d31d0 (diff)
downloadopenshift-b08cc0b87599bca63e8723de3fdcd2402e23c3fe.tar.gz
openshift-b08cc0b87599bca63e8723de3fdcd2402e23c3fe.tar.bz2
openshift-b08cc0b87599bca63e8723de3fdcd2402e23c3fe.tar.xz
openshift-b08cc0b87599bca63e8723de3fdcd2402e23c3fe.zip
Merge pull request #15 from jwhonce/wip/lastest
Add comments explaining changing the master/minion hostnames
-rw-r--r--roles/openshift_master/tasks/main.yml3
-rw-r--r--roles/openshift_minion/tasks/main.yml3
2 files changed, 4 insertions, 2 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
diff --git a/roles/openshift_minion/tasks/main.yml b/roles/openshift_minion/tasks/main.yml
index 7a79b4ee9..e328eb5d5 100644
--- a/roles/openshift_minion/tasks/main.yml
+++ b/roles/openshift_minion/tasks/main.yml
@@ -3,7 +3,8 @@
- name: Install OpenShift
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 Minion settings