mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Ansible Tower job_launch module (#22148)
* Ansible Tower job_launch module * Added RETURN documentation and fixed import locations * remove superfluos required attributes, make tags a list, and fix some typos * only join tags if they are actually a list * use isinstance instead of type, cleanup imports
This commit is contained in:
committed by
AlanCoding
parent
bd6e5c2529
commit
3855393cd3
@@ -75,3 +75,13 @@ def tower_check_mode(module):
|
||||
module.exit_json(changed=True, tower_version='{0}'.format(result['version']))
|
||||
except (exc.ServerError, exc.ConnectionError, exc.BadRequest) as excinfo:
|
||||
module.fail_json(changed=False, msg='Failed check mode: {0}'.format(excinfo))
|
||||
|
||||
|
||||
def tower_argument_spec():
|
||||
return dict(
|
||||
tower_host = dict(),
|
||||
tower_username = dict(),
|
||||
tower_password = dict(no_log=True),
|
||||
tower_verify_ssl = dict(type='bool', default=True),
|
||||
tower_config_file = dict(type='path'),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user