various references to tower

This commit is contained in:
Seth Foster 2021-05-05 23:42:54 -04:00
parent 82c5803e59
commit 1ade9b3a7d
No known key found for this signature in database
GPG Key ID: 86E90D96F7184028
4 changed files with 6 additions and 6 deletions

View File

@ -98,7 +98,7 @@ def main():
cancel_page = module.get_endpoint(command['related']['cancel'])
if 'json' not in cancel_page or 'can_cancel' not in cancel_page['json']:
module.fail_json(msg="Failed to cancel command, got unexpected response from tower", **{'response': cancel_page})
module.fail_json(msg="Failed to cancel command, got unexpected response", **{'response': cancel_page})
if not cancel_page['json']['can_cancel']:
if fail_if_not_running:

View File

@ -395,7 +395,7 @@ def main():
# End backwards compatability
state = module.params.get('state')
# Deprication warnings
# Deprecation warnings
for legacy_input in OLD_INPUT_NAMES:
if module.params.get(legacy_input) is not None:
module.deprecate(msg='{0} parameter has been deprecated, please use inputs instead'.format(legacy_input), version="ansible.tower:4.0.0")

View File

@ -42,7 +42,7 @@ options:
inputs:
description:
- >-
Enter inputs using either JSON or YAML syntax. Refer to the
Enter inputs using either JSON or YAML syntax. Refer to the
Automation Platform Controler documentation for example syntax.
type: dict
injectors:
@ -66,7 +66,7 @@ EXAMPLES = '''
name: Nexus
description: Credentials type for Nexus
kind: cloud
inputs: "{{ lookup('file', 'tower_credential_inputs_nexus.json') }}"
inputs: "{{ lookup('file', 'credential_inputs_nexus.json') }}"
injectors: {'extra_vars': {'nexus_credential': 'test' }}
state: present
validate_certs: false

View File

@ -246,7 +246,7 @@ EXAMPLES = '''
notification_configuration:
username: user
password: s3cr3t
sender: tower@example.com
sender: controller@example.com
recipients:
- user1@example.com
host: smtp.example.com
@ -286,7 +286,7 @@ EXAMPLES = '''
name: irc notification
notification_type: irc
notification_configuration:
nickname: tower
nickname: controller
password: s3cr3t
targets:
- user1