awx.awx.tower_ad_hoc_command – create, update, or destroy Ansible Tower ad hoc commands.¶
Note
This plugin is part of the awx.awx collection (version 17.1.0).
To install it use: ansible-galaxy collection install awx.awx
.
To use it in a playbook, specify: awx.awx.tower_ad_hoc_command
.
New in version 4.0: of awx.awx
Synopsis¶
Create, update, or destroy Ansible Tower ad hoc commands. See https://www.ansible.com/tower for an overview.
Parameters¶
Notes¶
Note
If no config_file is provided we will attempt to use the tower-cli library defaults to find your Tower host information.
config_file should contain Tower configuration in the following format host=hostname username=username password=password
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
id
integer
|
success |
id of the newly launched command
Sample:
86
|
status
string
|
success |
status of newly launched command
Sample:
pending
|
Authors¶
John Westcott IV (@john-westcott-iv)