mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 14:38:00 -03:30
various references to tower
This commit is contained in:
parent
82c5803e59
commit
1ade9b3a7d
@ -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:
|
||||
|
||||
@ -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")
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user