From 510f54b90491337f4bb80cd00825d4ecd46a59fb Mon Sep 17 00:00:00 2001 From: Gabe Muniz Date: Mon, 23 Jan 2023 13:28:03 -0500 Subject: [PATCH] adding limit to inventory_source collection module --- awx_collection/plugins/modules/inventory_source.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/awx_collection/plugins/modules/inventory_source.py b/awx_collection/plugins/modules/inventory_source.py index 1e6939df3f..04ee423a3b 100644 --- a/awx_collection/plugins/modules/inventory_source.py +++ b/awx_collection/plugins/modules/inventory_source.py @@ -64,6 +64,10 @@ options: description: - If specified, AWX will only import hosts that match this regular expression. type: str + limit: + description: + - Enter host, group or pattern match + type: str credential: description: - Credential to use for the source. @@ -172,6 +176,7 @@ def main(): enabled_var=dict(), enabled_value=dict(), host_filter=dict(), + limit=dict(), credential=dict(), execution_environment=dict(), custom_virtualenv=dict(), @@ -279,6 +284,7 @@ def main(): 'enabled_value', 'host_filter', 'scm_branch', + 'limit', ) # Layer in all remaining optional information