From 9d2343a72d0d1b41e52c6cb8e40ec13a95cdd8b9 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 29 Nov 2016 16:19:28 +0000 Subject: [PATCH] RHEL6 doesn't have the https proxy Signed-off-by: Patrick Uiterwijk --- roles/base/templates/krb5.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/base/templates/krb5.conf.j2 b/roles/base/templates/krb5.conf.j2 index 977410ba6e..2826716291 100644 --- a/roles/base/templates/krb5.conf.j2 +++ b/roles/base/templates/krb5.conf.j2 @@ -15,7 +15,11 @@ [realms] {{ ipa_realm }} = { +{% if ansible_distribution_major_version|int == 6 %} + kdc = ipa01{{ env_suffix }}.phx2.fedoraproject.org +{% else %} kdc = https://id{{ env_suffix }}.fedoraproject.org/KdcProxy +{% endif %} } [domain_realm]