Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ansible/ansible.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fontein <felix@fontein.de>2022-10-04 16:44:00 +0300
committerGitHub <noreply@github.com>2022-10-04 16:44:00 +0300
commit6d0aeac1e166842f2833f4fb64c727cc7f818118 (patch)
treeae74e4ca8c90219fb877821ba3414d4548ccb354 /changelogs
parent367cdae3b279a5281a56808827af27c8883a4ad4 (diff)
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>
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/78913-template-missing-filter-test.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/78913-template-missing-filter-test.yml b/changelogs/fragments/78913-template-missing-filter-test.yml
new file mode 100644
index 00000000000..a4957fe6aeb
--- /dev/null
+++ b/changelogs/fragments/78913-template-missing-filter-test.yml
@@ -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)."