Indentation Saga

This commit is contained in:
Daniel Akulenok
2022-08-30 16:02:43 +02:00
parent ba17ed2716
commit de1fd88f69
3 changed files with 8 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
{% import 'named.conf.functions.j2' as functions %}
{% 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 %}
@@ -51,7 +51,7 @@ options {
{% endif %}
{% if item.parental_agents is defined and item.parental_agents %}
{% from 'named.conf.parental-agents.j2' import parental_agents with context %}
{{ parental_agents(item.parental_agents) }}
{{ parental_agents(item.parental_agents) -}}
{% endif %}
{% if item.server is defined and item.server %}
{% from 'named.conf.server.j2' import server with context %}
@@ -76,4 +76,4 @@ options {
{% if item.view is defined and item.view %}
{% from 'named.conf.view.j2' import view with context %}
{{ view(item.view) }}
{% endif %}
{% endif %}