From 9b6f408aa44cb7ecd32c57194624fb13eea40c86 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 26 Apr 2020 15:53:57 +0200 Subject: [PATCH] Fix indentation --- roles/bind-authoritative/templates/bind/named.conf.local.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/bind-authoritative/templates/bind/named.conf.local.j2 b/roles/bind-authoritative/templates/bind/named.conf.local.j2 index 0f7603c1..c84b3356 100644 --- a/roles/bind-authoritative/templates/bind/named.conf.local.j2 +++ b/roles/bind-authoritative/templates/bind/named.conf.local.j2 @@ -15,7 +15,7 @@ key "certbot_challenge." { // Crans zones {% for zone in bind.zones %} zone "{{ zone }}" { - {% if bind.master %} + {% if bind.master -%} type master; file "/var/local/re2o-services/dns/generated/dns.{{ zone }}.zone"; forwarders { @@ -32,7 +32,7 @@ zone "{{ zone }}" { grant certbot_challenge. name _acme-challenge.{{ zone }} txt; }; notify yes; - {% else %} + {% else -%} type slave; file "bak.{{ zone }}"; masters { @@ -40,7 +40,7 @@ zone "{{ zone }}" { }; allow-transfer { "none"; }; notify no; - {% endif %} +{% endif -%} }; {% endfor %}