diff options
-rw-r--r-- | galaxy.yml | 2 | ||||
-rw-r--r-- | roles/nginx/templates/nginx.conf.j2 | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ namespace: kompetenzbolzen name: stuff -version: 0.21.5 +version: 0.21.6 readme: README.md authors: - Jonas Gunz <himself@jonasgunz.de> 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 }}; |