mirror of
https://codeberg.org/YoSiJo/ansible_apt_deb822.git
synced 2024-05-07 13:54:51 +00:00
12 lines
320 B
Django/Jinja
12 lines
320 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
{% for key, value in apt_deb822_options.items() %}
|
|
{{ key }}: {%- if value is boolean %}
|
|
{{ 'Yes' if value else 'No' -}}
|
|
{% elif value is string %}
|
|
{{ value -}}
|
|
{% elif value is iterable and (var is not string and var is not mapping) %}
|
|
{{ value | join(' ') -}}
|
|
{% endif +%}
|
|
{% endfor %}
|