mirror of https://github.com/ansible/ansible.git
unsafe wrapping should only happen for with_ loops (#64401)
* unsafe wrapping should only happen for with_ lookups. Fixes #64379. Addresses #64169 * edit porting guide entry * typo in changelog fragment * typo Co-Authored-By: Sandra McCann <samccann@redhat.com> * punctuation Co-Authored-By: Sandra McCann <samccann@redhat.com>pull/64529/head
parent
c5d61953b1
commit
254788bc22
@ -0,0 +1,5 @@
|
|||||||
|
bugfixes:
|
||||||
|
- loops - Do not indiscriminately mark loop items as unsafe, only apply unsafe
|
||||||
|
to ``with_`` style loops. The items from ``loop`` should not be explicitly
|
||||||
|
wrapped in unsafe. The underlying templating mechanism should dictate this.
|
||||||
|
(https://github.com/ansible/ansible/issues/64379)
|
@ -0,0 +1,2 @@
|
|||||||
|
__foo:
|
||||||
|
- "foo{{ version_64169 }}"
|
Loading…
Reference in New Issue