paulbsd-salt/states/grafana/jinja/macros.jinja

11 lines
206 B
Plaintext
Raw Permalink Normal View History

2020-07-10 00:58:55 +02:00
#
# Collection of common macros
{%- macro format_kwargs(kwarg) -%}
{%- filter indent(4) %}
{%- for k, v in kwarg|dictsort() %}
- {{ k }}: {{ v }}
{%- endfor %}
{%- endfilter %}
{%- endmacro %}