mirror of https://github.com/ansible/ansible.git
plugin_filter: check for type error (#46664)
* Parsing plugin filter may raise TypeError, gracefully handle this exception
and let user know about the syntax error in plugin filter file.
* Test for plugin_filtering
Fixes: #46658
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit b32b4111b2
)
pull/47892/head
parent
44088ef64d
commit
1293076d7b
@ -0,0 +1,2 @@
|
|||||||
|
minor_changes:
|
||||||
|
- Parsing plugin filter may raise TypeError, gracefully handle this exception and let user know about the syntax error in plugin filter file.
|
@ -0,0 +1,3 @@
|
|||||||
|
[defaults]
|
||||||
|
retry_files_enabled = False
|
||||||
|
plugin_filters_cfg = ./no_blacklist_module.yml
|
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
filter_version: 1.0
|
||||||
|
module_blacklist:
|
Loading…
Reference in New Issue