From 8fea5fec61fabac1a72e8cc2a0874501ed4458ac Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Sun, 1 Mar 2015 00:43:07 -0500 Subject: add openshift_hostname workaround var - use openshift_bind_ip for hostname when openshift_hostname_workaround is true - defaults to true to maintain current behavior. --- roles/openshift_common/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/openshift_common/tasks') diff --git a/roles/openshift_common/tasks/main.yml b/roles/openshift_common/tasks/main.yml index cfa0d8dfe..f72beb65b 100644 --- a/roles/openshift_common/tasks/main.yml +++ b/roles/openshift_common/tasks/main.yml @@ -2,6 +2,7 @@ # fixme: Once openshift stops resolving hostnames for node queries remove this... - name: Set hostname to IP Addr (WORKAROUND) hostname: name={{ openshift_bind_ip }} + when: openshift_hostname_workaround - name: Configure local facts file file: path=/etc/ansible/facts.d/ state=directory mode=0750 -- cgit v1.2.3