As root:
#Remove old ‘latest’
rm ansible-tower-setup-bundle-latest.el8.tar.gz
#Run a backup
ansible-tower-setup-bundle-n.n.n-n/setup.sh -b
#Copy the backup to /root I remove the colons in the cp
cp ansible-tower-setup-bundle-n.n.n-n/tower-backup-2022-05-26-13\:28\:57.tar.gz /root/tower-backup-2022-05-26-13-28-57.tar.gz
#Copy the inventory to /root
cp ansible-tower-setup-bundle-n.n.n-n/inventory /root
#get the new latest
wget https://releases.ansible.com/ansible-tower/setup-bundle/ansible-tower-setup-bundle-latest.el8.tar.gz
#Un-tar it
tar xzvf ansible-tower-setup-bundle-latest.el8.tar.gz
#Copy inventory to latest
cp inventory ansible-tower-setup-bundle-n.n.n-n/
#Upgrade
ansible-tower-setup-bundle-n.n.n-n/setup.sh
Chat with us on Discord
