mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
Update inventory source req fields
As per the gui, and testing, source is a required field.
This commit is contained in:
parent
5013d74f46
commit
16aa73fc2c
@ -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'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user