2022-11-08 11:04:39 +01: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 values.redirect|default(false) %}
|
2023-01-04 21:44:03 +01:00
|
|
|
{{ name }} {{ values.redirect }}
|
2022-11-08 11:04:39 +01:00
|
|
|
{%- endif %}
|
|
|
|
{%- endfor %}
|