Upgraded Ansible Tower to Latest Version

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

3. After we downloaded, we can untar bundle
 [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 toansibletower.crt,ansibletower.key files /etc/tower
Edit /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

7. Login
with credentials provided


meenakande

Hey there! I’m a proud mom to a wonderful son, a coffee enthusiast ☕, and a cheerful techie who loves turning complex ideas into practical solutions. With 14 years in IT infrastructure, I specialize in VMware, Veeam, Cohesity, NetApp, VAST Data, Dell EMC, Linux, and Windows. I’m also passionate about automation using Ansible, Bash, and PowerShell. At Trendinfra, I write about the infrastructure behind AI — exploring what it really takes to support modern AI use cases. I believe in keeping things simple, useful, and just a little fun along the way

Leave a Reply

Your email address will not be published. Required fields are marked *