diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-03-01 00:43:07 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-03-02 11:02:00 -0500 |
commit | 8fea5fec61fabac1a72e8cc2a0874501ed4458ac (patch) | |
tree | beab4adc980f72a882a192ed271e3de20eb027ed /roles/openshift_common/tasks | |
parent | e55ef121003649cfe72bb51c6d51a492898f328a (diff) | |
download | openshift-8fea5fec61fabac1a72e8cc2a0874501ed4458ac.tar.gz openshift-8fea5fec61fabac1a72e8cc2a0874501ed4458ac.tar.bz2 openshift-8fea5fec61fabac1a72e8cc2a0874501ed4458ac.tar.xz openshift-8fea5fec61fabac1a72e8cc2a0874501ed4458ac.zip |
add openshift_hostname workaround var
- use openshift_bind_ip for hostname when openshift_hostname_workaround is true
- defaults to true to maintain current behavior.
Diffstat (limited to 'roles/openshift_common/tasks')
-rw-r--r-- | roles/openshift_common/tasks/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
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 |