mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 15:06:02 -03:30
Update inventory source req fields
As per the gui, and testing, source is a required field.
This commit is contained in:
@@ -45,6 +45,7 @@ options:
|
|||||||
- The source to use for this group.
|
- The source to use for this group.
|
||||||
choices: [ "scm", "ec2", "gce", "azure_rm", "vmware", "satellite6", "openstack", "rhv", "tower", "custom" ]
|
choices: [ "scm", "ec2", "gce", "azure_rm", "vmware", "satellite6", "openstack", "rhv", "tower", "custom" ]
|
||||||
type: str
|
type: str
|
||||||
|
required: True
|
||||||
source_path:
|
source_path:
|
||||||
description:
|
description:
|
||||||
- For an SCM based inventory source, the source path points to the file within the repo to use as an inventory.
|
- 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",
|
source=dict(choices=["scm", "ec2", "gce",
|
||||||
"azure_rm", "vmware", "satellite6",
|
"azure_rm", "vmware", "satellite6",
|
||||||
"openstack", "rhv", "tower", "custom"]),
|
"openstack", "rhv", "tower", "custom"], required=True),
|
||||||
source_path=dict(),
|
source_path=dict(),
|
||||||
source_script=dict(),
|
source_script=dict(),
|
||||||
source_vars=dict(type='dict'),
|
source_vars=dict(type='dict'),
|
||||||
|
|||||||
Reference in New Issue
Block a user