Update inventory source req fields

As per the gui, and testing, source is a required field.
This commit is contained in:
Sean Sullivan 2021-02-10 08:47:51 -06:00 committed by GitHub
parent 5013d74f46
commit 16aa73fc2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,7 @@ options:
- The source to use for this group.
choices: [ "scm", "ec2", "gce", "azure_rm", "vmware", "satellite6", "openstack", "rhv", "tower", "custom" ]
type: str
required: True
source_path:
description:
- For an SCM based inventory source, the source path points to the file within the repo to use as an inventory.
@ -165,7 +166,7 @@ def main():
#
source=dict(choices=["scm", "ec2", "gce",
"azure_rm", "vmware", "satellite6",
"openstack", "rhv", "tower", "custom"]),
"openstack", "rhv", "tower", "custom"], required=True),
source_path=dict(),
source_script=dict(),
source_vars=dict(type='dict'),