Some strings contain spaces or special characters and should be quoted. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
600a73a984
commit
938be46faf
@ -27,7 +27,7 @@ bookstack_permissions:
|
||||
{%- if mypillar[option] is string and mypillar[option].startswith('$') or mypillar[option] is number %}
|
||||
{%- set value = mypillar[option] %}
|
||||
{%- else %}
|
||||
{%- set value = mypillar[option] | quote %}
|
||||
{%- set value = "'" ~ mypillar[option] ~ "'" | quote %}
|
||||
{%- endif %}
|
||||
{{ option | upper }}: {{ value }}
|
||||
{%- endif -%}
|
||||
|
Loading…
Reference in New Issue
Block a user