paulbsd-salt/states/haproxy/templates/maps/ua.j2

8 lines
313 B
Plaintext
Raw Normal View History

2023-07-15 19:54:00 +02:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "haproxy/map.jinja" import haproxy with context %}
{%- for name, values in haproxy.config.vhosts.items() %}
{%- if not values.redirect|default(false) and values.ua|default(false) %}
{{ values.ua }} {{ name }}
{%- endif %}
{%- endfor %}