From 07303d2cad3df95748de32aa7fc48ce9d3217b57 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 10 Sep 2023 11:01:35 +0200 Subject: nginx fix spacing --- roles/nginx/templates/nginx.conf.j2 | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/nginx') diff --git a/roles/nginx/templates/nginx.conf.j2 b/roles/nginx/templates/nginx.conf.j2 index 9d2bb87..03896bd 100644 --- a/roles/nginx/templates/nginx.conf.j2 +++ b/roles/nginx/templates/nginx.conf.j2 @@ -7,6 +7,7 @@ {% for k, v in val.items() %}{{ procval(k,v,tabs+1) }} {{ add_tabs(tabs) }}{% endfor -%} } {% elif val is iterable and (val is not string and val is not mapping) %}{% for v in val %}{{ add_tabs(tabs) }}{{ key }} {{ v }}; + {% endfor %} {%- else -%} {{ add_tabs(tabs) }}{{ key }} {{ val }}; -- cgit v1.2.3