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



Meena Kande

As a skilled System Administrator, I'm passionate about sharing my knowledge and keeping up with the latest tech trends. I have expertise in managing various server platforms, storage solutions, backup systems, and virtualization technologies. I excel at designing and implementing efficient IT infrastructures.

Post a Comment

New comments are not allowed.*

Previous Post Next Post