diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-09-08 12:49:18 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-09-08 12:49:18 +0200 |
commit | 1b244189b0a417b01f3dcd7dc7ed1167ab3d3f10 (patch) | |
tree | 75ef113830c5778f48f1be3ce0f611a506604394 /roles/nginx/templates | |
parent | b9e9acaeb0c97ba9f904ce0567584158166cba12 (diff) | |
download | ansible_collection-1b244189b0a417b01f3dcd7dc7ed1167ab3d3f10.tar.gz |
fix nginx
Diffstat (limited to 'roles/nginx/templates')
-rw-r--r-- | roles/nginx/templates/nginx.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
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 -%} |