refactor: Remove macro usage from options template

This commit is contained in:
Daniel Akulenok
2024-05-14 10:04:31 +02:00
parent f726cdea51
commit 3c09b49dbd
2 changed files with 321 additions and 324 deletions

View File

@@ -1,10 +1,9 @@
{% import 'named.conf.functions.j2' as functions with context %}
{{ ansible_managed | comment }}
{% if item.options is defined and item.options %}
{% from 'named.conf.options.j2' import options with context %}
options {
{% filter indent(bind9_config_indent,true)%}
{{ options(item.options) -}}
{% include 'named.conf.options.j2' %}
{% endfilter %}
};