mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 02:00:01 -03:30
Fixing validate-module errors
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user