Compare commits
No commits in common. "65af33d4fb071ab08d2869e1b7468480d398ccb4" and "8d9af70941de7c4856a7187b58af10c673c33815" have entirely different histories.
65af33d4fb
...
8d9af70941
@ -24,10 +24,10 @@ bookstack_permissions:
|
||||
- key_values:
|
||||
{%- macro condconf(option) %}
|
||||
{%- if option in mypillar -%}
|
||||
{%- if ( mypillar[option] is string and mypillar[option].startswith('$') ) or mypillar[option] is number %}
|
||||
{%- if mypillar[option] is string and mypillar[option].startswith('$') or mypillar[option] is number %}
|
||||
{%- set value = mypillar[option] %}
|
||||
{%- else %}
|
||||
{%- set value = "\"'" ~ mypillar[option] ~ "\"'" %}
|
||||
{%- set value = "'" ~ mypillar[option] ~ "'" | quote %}
|
||||
{%- endif %}
|
||||
{{ option | upper }}: {{ value }}
|
||||
{%- endif -%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user