role_nftables/templates/rules.conf.j2

8 lines
147 B
Django/Jinja

# {{ ansible_managed }}
{% for item in nftables_rules %}
# BEGIN {{ item.name }}
{{ item.rules | join('\n') }}
# END {{ item.name }}
{% endfor %}