1. Take backup from current Ansible Tower 3.8
(./setup.sh -b) and
If possible please take the VM snapshots as well.
2. Download bundle installer from Customer Portal
[root@ansibletower ~]# ls -al |grep ansible-automation-platform-setup-bundle-2.2.1-1.1.tar.gz
1. -rw-r--r--. 1 root root 1472877795 Dec 7 11:29 ansible-automation-platform-setup-bundle-2.2.1-1.1.tar.gz
4. Modify the inventory file as per our current setup
[root@ansibletower ansible-automation-platform-setup-bundle-2.2.1-1.1]# cat inventory |egrep "password"
admin_password='*******'
pg_password='*******'
5. Run
the setup
./setup.sh
6. Fix
the ssl certificates using the below document
6.1 Create new certificate using ssl
openssl req -new -newkey rsa:2048 -nodes -out ansibletower.csr -keyout ansibletower.key -subj "CN=ansibletower
6.2 Certificate will generated in .cer format and convert into the .crt format using below command
openssl x509 -inform DER -in ansibletower.cer -out ansibletower.crt
6.3 copy to
ansibletower.crt
,ansibletower.key files
/etc/towerEdit /etc/nginx/ngnix.conf
Update SSL_Certificate lines with .csr & .key path and update servername
Run below commands
#restorecon -v /etc/tower/ansibletower.crt
#restorecon -v /etc/tower/ansibletower.key
6.4 Restart the ngnix service
#systemctl restart nginx.service
Tags: AI,MLops
Ansible Automation Platform