From 72e5a61e9b4cda2aae346fc68ca00561d7e919a2 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Fri, 12 Jul 2019 13:58:57 +0000 Subject: [PATCH] [pagure] templates need elif not else if --- roles/pagure/frontend/templates/pagure.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/pagure/frontend/templates/pagure.cfg b/roles/pagure/frontend/templates/pagure.cfg index 8585cb4df6..43cda7f081 100644 --- a/roles/pagure/frontend/templates/pagure.cfg +++ b/roles/pagure/frontend/templates/pagure.cfg @@ -80,7 +80,7 @@ GIT_URL_GIT = 'https://pagure.io/' ### The IP addresses allowed for the internal endpoints {% if hostvars[host].eth0_ipv6 is defined %} IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', {{ hostvars[host]['eth0_ip'] }} , {{ hostvars[host]['eth0_ipv6'] }}] -{% else if hostvars[host].eth0_ip is defined %} +{% elif hostvars[host].eth0_ip is defined %} IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', {{ hostvars[host]['eth0_ip'] }}] {% else %} IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1']