mirror of https://github.com/ansible/ansible.git
template override colon bugfixes (#77495)
* Proper error on missing jinja2 override separator Properly catch the case when no (or a wrong) separator is used in a jinja2 override, and return a useful error message to the user. * Support colons in jinja2 override value By limiting the split to 1, any colons in the value are preserved and passed on.pull/77516/head
parent
94eff70030
commit
94138cf608
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- More gracefully handle separator errors in jinja2 template overrides (https://github.com/ansible/ansible/pull/77495).
|
||||
- Support colons in jinja2 template override values (https://github.com/ansible/ansible/pull/77495).
|
@ -0,0 +1 @@
|
||||
foo
|
@ -0,0 +1,4 @@
|
||||
#jinja2: line_statement_prefix:":"
|
||||
: if true
|
||||
foo
|
||||
: endif
|
@ -0,0 +1 @@
|
||||
#jinja2: lstrip_blocks=True
|
Loading…
Reference in New Issue