Created
February 3, 2021 08:34
-
-
Save myh-st/deb02b18853f3d70bc7d5228a57dff1d to your computer and use it in GitHub Desktop.
export/import awx inventory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install ansible-tower-cli | |
tower-cli config username admin | |
tower-cli config password <PASSWORD> | |
tower-cli config verify_ssl False | |
tower-cli config | |
tower-cli job list | |
tower-cli config host http://<IP>:80 | |
## Backup AWX all objects ## | |
tower-cli receive --all > tower-backup.json | |
## Import AWX ## | |
tower-cli send < tower-backup.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment