[pagure] templates need elif not else if
This commit is contained in:
parent
2789dcd4e8
commit
72e5a61e9b
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue