aboutsummaryrefslogtreecommitdiffstats
path: root/roles/debian/templates
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2020-02-27 11:26:52 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2020-02-27 13:21:19 +0100
commitf1b1a9fd90056b2d42b2cb41e71af254e2c07268 (patch)
tree5fa28991c2e8f157a524e297fded3f233baa91f3 /roles/debian/templates
parentbfb961cfa1cd4ebbfd965df3b9511a9220b54845 (diff)
downloadlabitat-ansible-f1b1a9fd90056b2d42b2cb41e71af254e2c07268.tar.gz
labitat-ansible-f1b1a9fd90056b2d42b2cb41e71af254e2c07268.tar.xz
labitat-ansible-f1b1a9fd90056b2d42b2cb41e71af254e2c07268.zip
debian: update for hash_behaviour = replace
Diffstat (limited to 'roles/debian/templates')
-rw-r--r--roles/debian/templates/hosts.j22
-rw-r--r--roles/debian/templates/locale.gen.j22
-rw-r--r--roles/debian/templates/locale.j22
3 files changed, 3 insertions, 3 deletions
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 %}
diff --git a/roles/debian/templates/locale.gen.j2 b/roles/debian/templates/locale.gen.j2
index 2ab95c7..f324e1e 100644
--- a/roles/debian/templates/locale.gen.j2
+++ b/roles/debian/templates/locale.gen.j2
@@ -1,3 +1,3 @@
-{% for locale in locale.generated %}
+{% for locale in locale_generated %}
{{ locale }}
{% endfor %}
diff --git a/roles/debian/templates/locale.j2 b/roles/debian/templates/locale.j2
index cad9883..0e972d4 100644
--- a/roles/debian/templates/locale.j2
+++ b/roles/debian/templates/locale.j2
@@ -1,3 +1,3 @@
-{% for key, value in locale.default|dictsort(true) %}
+{% for key, value in locale_default|dictsort(true) %}
{{ key }}={{ value }}
{% endfor %}