1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-11 02:25:36 +00:00
community.general/changelogs
patchback[bot] 1def2a7ebe
[PR #12140/48db8630 backport][stable-12] filetree lookup: handle invalid exclude regex with AnsibleError (#12183)
filetree lookup: handle invalid exclude regex with AnsibleError (#12140)

* filetree lookup - handle invalid exclude regex with AnsibleError Wrap re.compile() for the exclude option so invalid regular expressions produce a clear AnsibleError instead of an uncaught re.error traceback.

* add changelog fragment

* add changelog fragment

* Fix changelog fragment line endings (LF)



* Used AnsibleLookupError instead of AnsibleError

* Update changelogs/fragments/12140-filetree-exclude-regex-error.yml



* Used AnsibleLookupError instead of AnsibleError

* Updated changelog format

---------



(cherry picked from commit 48db863096)

Co-authored-by: Santosh Mahale <santoshmahale7676@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-06-04 06:28:35 +02:00
..
fragments [PR #12140/48db8630 backport][stable-12] filetree lookup: handle invalid exclude regex with AnsibleError (#12183) 2026-06-04 06:28:35 +02:00
.gitignore
changelog.yaml Release 12.6.1. 2026-05-17 12:59:47 +02:00
changelog.yaml.license
config.yaml Normalize changelog configs. 2025-07-27 16:36:35 +02:00