From 1b244189b0a417b01f3dcd7dc7ed1167ab3d3f10 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Fri, 8 Sep 2023 12:49:18 +0200 Subject: fix nginx --- galaxy.yml | 2 +- roles/nginx/templates/nginx.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index 0dd25d3..c4a69c7 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: kompetenzbolzen name: stuff -version: 0.21.1 +version: 0.21.2 readme: README.md authors: - Jonas Gunz diff --git a/roles/nginx/templates/nginx.conf.j2 b/roles/nginx/templates/nginx.conf.j2 index dbe251e..68c7669 100644 --- a/roles/nginx/templates/nginx.conf.j2 +++ b/roles/nginx/templates/nginx.conf.j2 @@ -6,7 +6,7 @@ {% if val is mapping %}{{ add_tabs(tabs) }}{{ key }} { {% for k, v in val.items() %}{{ procval(k,v,tabs+1) }} {{ add_tabs(tabs) }}{% endfor -%} } -{% elif val is iterable %}{% for v in val %}{% add_tabs(tabs) %}{{ key }} {{ v }};{% endfor %} +{% elif val is iterable %}{% for v in val %}{{ add_tabs(tabs) }}{{ key }} {{ v }};{% endfor %} {%- else -%} {{ add_tabs(tabs) }}{{ key }} {{ val }}; {%- endif -%} -- cgit v1.2.3