mirror of https://github.com/ansible/ansible.git
Do not crash templating when filter/test name is not a valid Ansible plugin name (#78913)
* 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>pull/79019/head^2
parent
367cdae3b2
commit
6d0aeac1e1
@ -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