paulbsd-salt/states/haproxy/maps/vhosts.j2
Paul Lecuq 8ca47b2f12
Some checks failed
continuous-integration/drone/push Build is failing
updated opendkim state
2023-01-04 21:44:50 +01:00

8 lines
279 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 not values.redirect|default(false) %}
{{ name }} {{ name }}
{%- endif %}
{%- endfor %}