From 4e8eec6f2276bbbe41646b24ef8d1f3f5ff24801 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss <erdnaxe@crans.org> Date: Sun, 26 Apr 2020 21:45:41 +0200 Subject: [PATCH] [bind] Sort zones --- roles/bind-authoritative/templates/bind/named.conf.local.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bind-authoritative/templates/bind/named.conf.local.j2 b/roles/bind-authoritative/templates/bind/named.conf.local.j2 index 780d0e50..fb2b7c7c 100644 --- a/roles/bind-authoritative/templates/bind/named.conf.local.j2 +++ b/roles/bind-authoritative/templates/bind/named.conf.local.j2 @@ -51,7 +51,7 @@ zone "_acme-challenge.crans.org" { }; // Crans zones -{% for zone in bind.zones %} +{% for zone in bind.zones|sort %} zone "{{ zone }}" { {% if is_master -%} type master;