adding limit to inventory_source collection module

This commit is contained in:
Gabe Muniz
2023-01-23 13:28:03 -05:00
parent fab83715e9
commit 1c6a48ffb6

View File

@@ -64,6 +64,10 @@ options:
description: description:
- If specified, AWX will only import hosts that match this regular expression. - If specified, AWX will only import hosts that match this regular expression.
type: str type: str
limit:
description:
- Enter host, group or pattern match
type: str
credential: credential:
description: description:
- Credential to use for the source. - Credential to use for the source.
@@ -167,6 +171,7 @@ def main():
enabled_var=dict(), enabled_var=dict(),
enabled_value=dict(), enabled_value=dict(),
host_filter=dict(), host_filter=dict(),
limit=dict(),
credential=dict(), credential=dict(),
execution_environment=dict(), execution_environment=dict(),
custom_virtualenv=dict(), custom_virtualenv=dict(),
@@ -272,6 +277,7 @@ def main():
'enabled_var', 'enabled_var',
'enabled_value', 'enabled_value',
'host_filter', 'host_filter',
'limit',
) )
# Layer in all remaining optional information # Layer in all remaining optional information