ansible/changelogs/fragments/74127-bad-filter.yml
Matt Martz 1082e2ab79
Catch errors getting filters (#74127)
* Catch errors getting filters, and fail

* Add changelog

* Switch to warnings instead of errors, to match other plugin loader behavior

* Add tests

* Handle collections
2021-04-15 15:51:41 -05:00

5 lines
284 B
YAML

bugfixes:
- Templating - Ensure we catch exceptions when calling ``.filters()`` or
``.tests()`` on their respective plugins and properly error, instead of
aborting which results in no filters being added to the jinja2 environment
(https://github.com/ansible/ansible/pull/74127)