awx.awx.tower_send – Send assets to Ansible Tower.¶
Note
This plugin is part of the awx.awx collection (version 14.1.0).
To install it use: ansible-galaxy collection install awx.awx
.
To use it in a playbook, specify: awx.awx.tower_send
.
DEPRECATED¶
- Removed in
version 14.0.0
- Why
Deprecated in favor of upcoming
_import
module.- Alternative
Once published, use tower_import instead.
Synopsis¶
Send assets to Ansible Tower. See https://www.ansible.com/tower for an overview.
Requirements¶
The below requirements are needed on the host that executes this module.
ansible-tower-cli >= 3.3.0
six.moves.StringIO
sys
Parameters¶
Notes¶
Note
One of assets or files needs to be passed in
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
Examples¶
- name: Import all tower assets
tower_send:
assets: "{{ export_output.assets }}"
tower_config_file: "~/tower_cli.cfg"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
output
list
/ elements=string
|
success, fail |
The import messages
Sample:
['Message 1', 'Message 2']
|
Status¶
This module will be removed in version 14.0.0. [deprecated]
For more information see DEPRECATED.
Authors¶
John Westcott IV (@john-westcott-iv)