Fixing validate-module errors

This commit is contained in:
John Westcott IV
2020-08-06 15:04:09 -04:00
parent 8688740e93
commit c2e0c0655b

View File

@@ -31,43 +31,43 @@ options:
description: description:
- organization name to export - organization name to export
type: str type: str
user: users:
description: description:
- user name to export - user name to export
type: str type: str
team: teams:
description: description:
- team name to export - team name to export
type: str type: str
credential_type: credential_types:
description: description:
- credential type name to export - credential type name to export
type: str type: str
credential: credentials:
description: description:
- credential name to export - credential name to export
type: str type: str
notification_template: notification_templates:
description: description:
- notification template name to export - notification template name to export
type: str type: str
inventory_script: inventory_sources:
description: description:
- inventory script name to export - inventory soruce to export
type: str type: str
inventory: inventory:
description: description:
- inventory name to export - inventory name to export
type: str type: str
project: projects:
description: description:
- project name to export - project name to export
type: str type: str
job_template: job_templates:
description: description:
- job template name to export - job template name to export
type: str type: str
workflow: workflow_job_templates:
description: description:
- workflow name to export - workflow name to export
type: str type: str
@@ -110,7 +110,7 @@ def main():
# We are not going to raise an error here because the __init__ method of TowerAWXKitModule will do that for us # We are not going to raise an error here because the __init__ method of TowerAWXKitModule will do that for us
if HAS_EXPORTABLE_RESOURCES: if HAS_EXPORTABLE_RESOURCES:
for resource in EXPORTABLE_RESOURCES: for resource in EXPORTABLE_RESOURCES:
argument_spec[resource] = dict() argument_spec[resource] = dict(type='str')
module = TowerAWXKitModule(argument_spec=argument_spec) module = TowerAWXKitModule(argument_spec=argument_spec)