17 lines
381 B
Plaintext
17 lines
381 B
Plaintext
|
# {{ ansible_managed }}
|
||
|
{% set outputmerged = nft_output_default_rules.copy() %}
|
||
|
{% set _ = outputmerged.update(nft_output_group_rules) %}
|
||
|
{% set _ = outputmerged.update(nft_output_host_rules) %}
|
||
|
|
||
|
chain output {
|
||
|
{% for group, rules in outputmerged|dictsort %}
|
||
|
# {{ group }}
|
||
|
{% if not rules %}
|
||
|
# (none)
|
||
|
{% endif %}
|
||
|
{% for rule in rules %}
|
||
|
{{ rule }}
|
||
|
{% endfor %}
|
||
|
{% endfor %}
|
||
|
}
|