|
|
|
|
|
by mdaniel
2038 days ago
|
|
Whitespace issues plague careless people in general, but ansible's choice to run jinja2 using its default delimiters of `{` was the million dollar mistake since it forces quoting to start a scalar with that character and it's quoting issues in yaml which compromise a significant portion of the SO questions I triage Even allowing a playbook to opt out of the default delimiters in the same way one can in a template file[1] would allow a transition out of that mess #jinja2:variable_start_string:'<%', variable_end_string:'%>'
- debug:
msg: <% my_var %> needs no quoting!
1 = https://docs.ansible.com/ansible/2.10/collections/ansible/bu... |
|