Note
This plugin is part of the awx.awx collection (version 17.0.1).
To install it use: ansible-galaxy collection install awx.awx
.
To use it in a playbook, specify: awx.awx.tower_send
.
version 14.0.0
Deprecated in favor of upcoming _import
module.
Once published, use tower_import instead.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
assets string | The assets to import. This can be the output of tower_receive or loaded from a file | |
files list / elements=string | Default: [] | List of files to import. |
password_management string |
| The password management option to use. The prompt option is not supported. |
prevent list / elements=string | Default: [] | A list of asset types to prevent import for |
tower_config_file path | Path to the Tower or AWX config file. If provided, the other locations for config files will not be considered. | |
tower_host string | URL to your Tower or AWX instance. If value not set, will try environment variable TOWER_HOST and then config filesIf value not specified by any means, the value of 127.0.0.1 will be used | |
tower_password string | Password for your Tower or AWX instance. If value not set, will try environment variable TOWER_PASSWORD and then config files | |
tower_username string | Username for your Tower or AWX instance. If value not set, will try environment variable TOWER_USERNAME and then config files | |
validate_certs boolean |
| Whether to allow insecure connections to Tower or AWX. If no , SSL certificates will not be validated.This should only be used on personally controlled sites using self-signed certificates. If value not set, will try environment variable TOWER_VERIFY_SSL and then config filesaliases: tower_verify_ssl |
Note
- name: Import all tower assets tower_send: assets: "{{ export_output.assets }}" tower_config_file: "~/tower_cli.cfg"
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'] |
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/awx/awx/tower_send_module.html