Verified Commit 5a6a085e authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

dbscripts: nginx: remove unnecessary unique filter

The intention of "unique" in "groups['buildservers'] | sort | unique"
was to account for combining multiple groups and passing them to the
sort and unique filters. However, with only one group it looks silly.
parent 02ac12e6
Pipeline #16614 passed with stage
in 1 minute and 7 seconds
......@@ -25,7 +25,7 @@ server {
satisfy any;
auth_request /devel/mirrorauth/;
{% for host in groups['buildservers'] | sort | unique %}
{% for host in groups['buildservers'] | sort %}
# {{ host }}
{% for address in ['ipv4_address', 'ipv6_address'] if address in hostvars[host] %}
allow {{ hostvars[host][address] }};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment