mirror of https://github.com/ansible/ansible.git
[stable-2.9] 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>
(cherry picked from commit 254788b
)
Co-authored-by: Matt Martz <matt@sivel.net>
pull/64756/head
parent
270f851e7a
commit
26e8474f6d
@ -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