Compare commits

..

No commits in common. "5f1793547b91fc0cc93b82feec512b953a6d7f45" and "edd16ff3a7fa329510f09f53797eb8b2550edef1" have entirely different histories.

View File

@ -24,10 +24,10 @@ privatebin_clean:
- sections:
{%- macro conf(section, options) %}
{%- for option in options.keys() -%}
{%- if ( mypillar[section][option] is string and mypillar[section][option].startswith('$') ) or mypillar[section][option] is number %}
{%- if mypillar[section][option] is string and mypillar[section][option].startswith('$') or mypillar[section][option] is number %}
{%- set value = mypillar[section][option] -%}
{%- else %}
{%- set value = "\"'" ~ mypillar[section][option] ~ "'\"" -%}
{%- set value = mypillar[section][option] | quote -%}
{%- endif %}
{{ option }}: {{ value }}
{%- endfor -%}