Merge pull request #9499 from elyezer/update-collection

Linter fixes for Execution Environments module

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2021-03-05 22:56:31 +00:00 committed by GitHub
commit 1c8851b716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View File

@ -132,6 +132,7 @@ def main():
wait=dict(default=False, type='bool'),
interval=dict(default=1.0, type='float'),
timeout=dict(default=None, type='int'),
execution_environment=dict(),
)
# Create a module for ourselves

View File

@ -16,7 +16,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = '''
---
module: tower_execution_environment
author: "Shane McDonald"
author: "Shane McDonald (@shanemcd)"
short_description: create, update, or destroy Execution Environments in Ansible Tower.
description:
- Create, update, or destroy Execution Environments in Ansible Tower. See
@ -54,7 +54,7 @@ options:
description:
- determine image pull behavior
choices: ["always", "missing", "never"]
default: ''
default: 'missing'
type: str
extends_documentation_fragment: awx.awx.auth
'''
@ -108,7 +108,7 @@ def main():
if pull:
new_fields['pull'] = pull
# Attempt to look up the related items the user specified (these will fail the module if not found)
organization = module.params.get('organization')
if organization:

View File

@ -47,6 +47,10 @@ options:
description:
- credential name to export
type: str
execution_environments:
description:
- execution environment name to export
type: str
notification_templates:
description:
- notification template name to export