Formatting

This commit is contained in:
Dryusdan 2024-03-01 14:08:56 +01:00
parent 64d0d104d3
commit f2da1b6076
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
upstream froxlor_backend {
{% for ip in domain_info["json"]["data"]["ipsandports"] -%}
{%- if ip["ip"] is ansible.utils.ipv6 -%}
{% if ip["ip"] is ansible.utils.ipv6 %}
server [{{ ip["ip"]}}]:{{ ip["port"] }};
{%- else -%}
{% else %}
server {{ ip["ip"]}}:{{ ip["port"] }};
{% endif %}
{% endfor %}