Skip to content

Commit bb95d69

Browse files
authored
fix(tmpl): allow strings containing = in ini files
* added template clause to handle values with = signs. fix #176 (#180)
1 parent 3c4e246 commit bb95d69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/icingaweb2/templates/ini_template.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
{% elif value is iterable and (value is not string and value is not mapping) %}
99
{{ option }} = "{{ value | join(', ') }}"
1010
{% elif value is string and "=" in value %}
11+
{{ option }} = "{{ value | quote }}"
1112
{% else %}
1213
{{ option }} = {{ value }}
1314
{% endif %}

0 commit comments

Comments
 (0)