paulbsd-salt/states/haproxy/maps/vhosts.j2

8 lines
286 B
Plaintext
Raw Normal View History

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