From b8e4abd2f23409432f65c4bd4a48e3732adeea47 Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Mon, 2 Mar 2015 11:00:29 -0500 Subject: Add openshift_hostname default variable to openshift_common - for use anywhere the hostname is used that would be dependent on the openshift_hostname_workaround setting. --- roles/openshift_common/defaults/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/openshift_common/defaults') diff --git a/roles/openshift_common/defaults/main.yml b/roles/openshift_common/defaults/main.yml index cda966c96..a541591fb 100644 --- a/roles/openshift_common/defaults/main.yml +++ b/roles/openshift_common/defaults/main.yml @@ -5,3 +5,4 @@ openshift_debug_level: 0 # TODO: Once openshift stops resolving hostnames for node queries remove # this... openshift_hostname_workaround: true +openshift_hostname: "{{ openshift_public_ip if openshift_hostname_workaround else ansible_fqdn }}" -- cgit v1.2.3