aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--galaxy.yml2
-rw-r--r--roles/nginx/templates/nginx.conf.j21
2 files changed, 2 insertions, 1 deletions
diff --git a/galaxy.yml b/galaxy.yml
index 9468cc0..0dd25d3 100644
--- a/galaxy.yml
+++ b/galaxy.yml
@@ -1,6 +1,6 @@
namespace: kompetenzbolzen
name: stuff
-version: 0.21.0
+version: 0.21.1
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 875003b..dbe251e 100644
--- a/roles/nginx/templates/nginx.conf.j2
+++ b/roles/nginx/templates/nginx.conf.j2
@@ -6,6 +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 %}
{%- else -%}
{{ add_tabs(tabs) }}{{ key }} {{ val }};
{%- endif -%}