From 55bcab704214e57aedad1466da928c7cc9050eff Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 6 Feb 2019 09:43:00 +0100 Subject: [PATCH] Don't require facts gathered for installing base krb5.conf --- roles/base/templates/krb5.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/base/templates/krb5.conf.j2 b/roles/base/templates/krb5.conf.j2 index 2b3fc2ea81..b998aa9825 100644 --- a/roles/base/templates/krb5.conf.j2 +++ b/roles/base/templates/krb5.conf.j2 @@ -15,7 +15,7 @@ [realms] {{ ipa_realm }} = { -{% if ansible_distribution_major_version|int == 6 %} +{% if ansible_distribution_major_version|default(0)|int == 6 %} kdc = ipa01{{ env_suffix }}.phx2.fedoraproject.org {% else %} kdc = https://id{{ env_suffix }}.fedoraproject.org/KdcProxy