From 1c6a48ffb608f01ba12ef83e383c00f2b63ffb63 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 f3000ee9ec..db285e8fc5 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. @@ -167,6 +171,7 @@ def main(): enabled_var=dict(), enabled_value=dict(), host_filter=dict(), + limit=dict(), credential=dict(), execution_environment=dict(), custom_virtualenv=dict(), @@ -272,6 +277,7 @@ def main(): 'enabled_var', 'enabled_value', 'host_filter', + 'limit', ) # Layer in all remaining optional information