alancoding / alancoding.awx / 11.2.0 / module / tower_receive
Removed in 3.7
Reason:Deprecated in favor of upcoming C(_export) module. | Alternative:Once published, use M(tower_export) instead.
Receive assets from Ansible Tower.
| "added in version" 2.8 of alancoding.awx"
Authors: John Westcott IV (@john-westcott-iv)
deprecated | supported by community
Install with ansible-galaxy collection install alancoding.awx:==11.2.0
collections: - name: alancoding.awx version: 11.2.0
Receive assets from Ansible Tower. See U(https://www.ansible.com/tower) for an overview.
- name: Export all tower assets tower_receive: all: True tower_config_file: "~/tower_cli.cfg"
- name: Export all inventories tower_receive: inventory: - all
- name: Export a job template named "My Template" and all Credentials tower_receive: job_template: - "My Template" credential: - all
all: default: 'False' description: - Export all assets type: bool team: default: [] description: - List of team names to export elements: str type: list user: default: [] description: - List of user names to export elements: str type: list project: default: [] description: - List of project names to export elements: str type: list workflow: default: [] description: - List of workflow names to export elements: str type: list inventory: default: [] description: - List of inventory names to export elements: str type: list credential: default: [] description: - List of credential names to export elements: str type: list tower_host: description: - URL to your Tower or AWX instance. - If value not set, will try environment variable C(TOWER_HOST) and then config files - If value not specified by any means, the value of C(127.0.0.1) will be used type: str job_template: default: [] description: - List of job template names to export elements: str type: list organization: default: [] description: - List of organization names to export elements: str type: list tower_password: description: - Password for your Tower or AWX instance. - If value not set, will try environment variable C(TOWER_PASSWORD) and then config files type: str tower_username: description: - Username for your Tower or AWX instance. - If value not set, will try environment variable C(TOWER_USERNAME) and then config files type: str validate_certs: aliases: - tower_verify_ssl description: - Whether to allow insecure connections to Tower or AWX. - If C(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 C(TOWER_VERIFY_SSL) and then config files type: bool credential_type: default: [] description: - List of credential type names to export elements: str type: list inventory_script: default: [] description: - List of inventory script names to export elements: str type: list tower_config_file: description: - Path to the Tower or AWX config file. type: path notification_template: default: [] description: - List of notification template names to export elements: str type: list
assets: description: The exported assets returned: success sample: - {} - {} type: dict