[pagure] try to get templates right
This commit is contained in:
parent
0d40cfcbad
commit
2789dcd4e8
1 changed files with 4 additions and 2 deletions
|
@ -78,10 +78,12 @@ GIT_URL_GIT = 'https://pagure.io/'
|
|||
{% endif %}
|
||||
|
||||
### The IP addresses allowed for the internal endpoints
|
||||
{% if hostvars[host]['eth0_ipv6'] %}
|
||||
{% 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 %}
|
||||
{% else if 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']
|
||||
{% endif %}
|
||||
|
||||
# Redis configuration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue