mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 05:55:59 -03:30
Linter fixes for Execution Environments module
Fix linter for the recently added Execution Environments module Signed-off-by: Elyézer Rezende <elyezermr@gmail.com>
This commit is contained in:
@@ -132,6 +132,7 @@ def main():
|
|||||||
wait=dict(default=False, type='bool'),
|
wait=dict(default=False, type='bool'),
|
||||||
interval=dict(default=1.0, type='float'),
|
interval=dict(default=1.0, type='float'),
|
||||||
timeout=dict(default=None, type='int'),
|
timeout=dict(default=None, type='int'),
|
||||||
|
execution_environment=dict(),
|
||||||
)
|
)
|
||||||
|
|
||||||
# Create a module for ourselves
|
# Create a module for ourselves
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: tower_execution_environment
|
module: tower_execution_environment
|
||||||
author: "Shane McDonald"
|
author: "Shane McDonald (@shanemcd)"
|
||||||
short_description: create, update, or destroy Execution Environments in Ansible Tower.
|
short_description: create, update, or destroy Execution Environments in Ansible Tower.
|
||||||
description:
|
description:
|
||||||
- Create, update, or destroy Execution Environments in Ansible Tower. See
|
- Create, update, or destroy Execution Environments in Ansible Tower. See
|
||||||
@@ -54,7 +54,7 @@ options:
|
|||||||
description:
|
description:
|
||||||
- determine image pull behavior
|
- determine image pull behavior
|
||||||
choices: ["always", "missing", "never"]
|
choices: ["always", "missing", "never"]
|
||||||
default: ''
|
default: 'missing'
|
||||||
type: str
|
type: str
|
||||||
extends_documentation_fragment: awx.awx.auth
|
extends_documentation_fragment: awx.awx.auth
|
||||||
'''
|
'''
|
||||||
|
|||||||
@@ -47,6 +47,10 @@ options:
|
|||||||
description:
|
description:
|
||||||
- credential name to export
|
- credential name to export
|
||||||
type: str
|
type: str
|
||||||
|
execution_environments:
|
||||||
|
description:
|
||||||
|
- execution environment name to export
|
||||||
|
type: str
|
||||||
notification_templates:
|
notification_templates:
|
||||||
description:
|
description:
|
||||||
- notification template name to export
|
- notification template name to export
|
||||||
|
|||||||
Reference in New Issue
Block a user