From f1b1a9fd90056b2d42b2cb41e71af254e2c07268 Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Thu, 27 Feb 2020 11:26:52 +0100 Subject: debian: update for hash_behaviour = replace --- roles/debian/templates/hosts.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/debian/templates/hosts.j2') diff --git a/roles/debian/templates/hosts.j2 b/roles/debian/templates/hosts.j2 index bce5120..31e5684 100644 --- a/roles/debian/templates/hosts.j2 +++ b/roles/debian/templates/hosts.j2 @@ -5,7 +5,7 @@ ff02::1 ip6-allnodes ff02::2 ip6-allrouters {% if hosts is defined %} -{% for addr, names in hosts %} +{% for addr, names in hosts|dictsort(true) %} {{ addr }} {{ names|join(' ') }} {% endfor %} {% endif %} -- cgit v1.2.1