From 79a2c79cb5f248aaf60d0da680997bd5ea0d62c6 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 25 Mar 2020 18:58:03 +0100 Subject: [PATCH] Use for loop to format dats --- ansible/templates/homebase.yml.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ansible/templates/homebase.yml.j2 b/ansible/templates/homebase.yml.j2 index 424e83b..aaa18b1 100644 --- a/ansible/templates/homebase.yml.j2 +++ b/ansible/templates/homebase.yml.j2 @@ -15,4 +15,7 @@ webapi: ports: http: {{ http_port }} -dats: {{ dats }} +dats: +{% for dat in dats %} + - {{ dat }} +{% endfor %}