aboutsummaryrefslogtreecommitdiff
path: root/roles/nginx/templates
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-09-10 11:01:35 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-09-10 11:01:35 +0200
commit07303d2cad3df95748de32aa7fc48ce9d3217b57 (patch)
tree10349f39cdfa1713819824dc97b6c23d9c62e396 /roles/nginx/templates
parent27f1329ad4b75be2e1b21278ea5b347de70b2b58 (diff)
downloadansible_collection-07303d2cad3df95748de32aa7fc48ce9d3217b57.tar.gz
nginx fix spacing
Diffstat (limited to 'roles/nginx/templates')
-rw-r--r--roles/nginx/templates/nginx.conf.j21
1 files changed, 1 insertions, 0 deletions
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 }};