From ea49ece0d693f184d28fd95514e2f1e184a3b27b Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Thu, 16 Dec 2021 14:47:14 -0700 Subject: [PATCH] add support for role filter_plugins Add support for local filter_plugins --- report-modules-plugins.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/report-modules-plugins.py b/report-modules-plugins.py index 1e26b68a..74f127ae 100644 --- a/report-modules-plugins.py +++ b/report-modules-plugins.py @@ -40,6 +40,7 @@ "defaults", "examples", "files", + "filter_plugins", "handlers", "library", "module_utils", @@ -457,6 +458,7 @@ def process_role(role_path, is_real_role, ctx): ctx.found_role_name = get_role_name(role_path) ctx.enter_role(ctx.found_role_name, role_path) ctx.add_local_plugins(role_path, "library") + ctx.add_local_plugins(role_path, "filter_plugins") for dirname in ROLE_DIRS: dirpath = os.path.join(role_path, dirname) if not os.path.isdir(dirpath) or os.path.islink(dirpath):