awx.awx.tower_export – export resources from Ansible Tower.¶
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_export
.
New in version 3.7: of awx.awx
Requirements¶
The below requirements are needed on the host that executes this module.
awxkit >= 9.3.0
Parameters¶
Notes¶
Note
Specifying a name of “all” for any asset type will export all items of that asset type.
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: Export all tower assets
tower_export:
all: True
- name: Export all inventories
tower_export:
inventory: 'all'
- name: Export a job template named "My Template" and all Credentials
tower_export:
job_template: "My Template"
credential: 'all'
Authors¶
John Westcott IV (@john-westcott-iv)