Compare commits
No commits in common. "5f1793547b91fc0cc93b82feec512b953a6d7f45" and "edd16ff3a7fa329510f09f53797eb8b2550edef1" have entirely different histories.
5f1793547b
...
edd16ff3a7
@ -24,10 +24,10 @@ privatebin_clean:
|
|||||||
- sections:
|
- sections:
|
||||||
{%- macro conf(section, options) %}
|
{%- macro conf(section, options) %}
|
||||||
{%- for option in options.keys() -%}
|
{%- 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] -%}
|
{%- set value = mypillar[section][option] -%}
|
||||||
{%- else %}
|
{%- else %}
|
||||||
{%- set value = "\"'" ~ mypillar[section][option] ~ "'\"" -%}
|
{%- set value = mypillar[section][option] | quote -%}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{{ option }}: {{ value }}
|
{{ option }}: {{ value }}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user