8 lines
293 B
Django/Jinja
8 lines
293 B
Django/Jinja
## {{ 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) %}
|
|
{{ values.host }} {{ values.redirect }}
|
|
{%- endif %}
|
|
{%- endfor %}
|