Browse Source

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
Jhon Honce 10 years ago
parent
commit
ee36a0b89f
2 changed files with 4 additions and 2 deletions
  1. 2 1
      roles/openshift_master/tasks/main.yml
  2. 2 1
      roles/openshift_minion/tasks/main.yml

+ 2 - 1
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

+ 2 - 1
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