2017-08-08 12:11:58 +02:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
{% set definemerged = nft_define_default.copy() %}
|
2018-08-06 15:09:20 +02:00
|
|
|
{% set _ = definemerged.update(nft_define) %}
|
2017-08-08 12:11:58 +02:00
|
|
|
{% set _ = definemerged.update(nft_define_group) %}
|
|
|
|
{% set _ = definemerged.update(nft_define_host) %}
|
|
|
|
|
|
|
|
|
|
|
|
{% for definition in definemerged.values() %}
|
|
|
|
{% if definition.desc is defined %}
|
|
|
|
# {{ definition.desc }}
|
|
|
|
{% else %}
|
|
|
|
# {{ definition.name }}
|
|
|
|
{% endif %}
|
|
|
|
define {{ definition.name }} = {{ definition.value }}
|
|
|
|
|
|
|
|
{% endfor %}
|