mirror of https://github.com/ansible/ansible.git
* Do not crash templating when filter/test name is not a valid Ansible plugin name.
* Store and re-raise KeyError if there was one.
Co-authored-by: s-hertel <19572925+s-hertel@users.noreply.github.com>
(cherry picked from commit 6d0aeac1e1)
pull/79062/head
parent
288dab3214
commit
fea62e7553
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "Do not crash when templating an expression with a test or filter that is not a valid Ansible filter name (https://github.com/ansible/ansible/issues/78912, https://github.com/ansible/ansible/pull/78913)."
|
||||
@ -0,0 +1 @@
|
||||
{{ [{"failed": false}] | selectattr("failed", "asdf ", true) }}
|
||||
Loading…
Reference in New Issue