mirror of
https://codeberg.org/YoSiJo/ansible_apt_deb822.git
synced 2024-05-07 13:54:51 +00:00
Fix string handling
This commit is contained in:
@ -3,6 +3,8 @@
|
||||
{% 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 +%}
|
||||
|
Reference in New Issue
Block a user