diff --git a/awx_collection/plugins/modules/tower_inventory_source.py b/awx_collection/plugins/modules/tower_inventory_source.py index 5945d411d8..dca97133e6 100644 --- a/awx_collection/plugins/modules/tower_inventory_source.py +++ b/awx_collection/plugins/modules/tower_inventory_source.py @@ -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'),