paulbsd-salt/states/haproxy/templates/maps/allowhttp.j2
2024-02-07 22:00:15 +01:00

6 lines
271 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() %}
{{ name }} {{ 'true' if values.allowhttp|default(false) else 'false' }}
{%- endfor %}