paulbsd-salt/states/opendkim/templates/TrustedHosts.j2

10 lines
327 B
Django/Jinja

{%- for key, value in salt['pillar.get']('net:ipv4_networks').items() %}
{{ value.ip }}/{{ value.mask }}
{%- endfor %}
{%- for key, value in salt['pillar.get']('net:ipv6_networks').items() %}
{{ value.ip }}/{{ value.mask }}
{%- endfor %}
{%- for hostname in salt['pillar.get']('mail:hostnames') %}
{{ hostname }}
{%- endfor %}