Home / How to upgrade or update Ansible without upgrading Ansible Tower?

How to upgrade or update Ansible without upgrading Ansible Tower?

Users can upgrade the Ansible version without also upgrading Ansible Tower. Ansible should function well with Tower after being updated to the desired version using package manager (not pip), yum, or apt.

When executed from the source, the most recent stable Ansible version is the only version Ansible Tower supports. Ansible cannot be installed using pip or from the development branch.

Set the following values in the all:vars part of the inventory if the user frequently upgrades Ansible using an Ansible Tower upgrade or installation.

[all:vars]
upgrade_ansible_with_tower=true

DO NOT USE the yum remove ansible command if the user wants to uninstall Ansible Engine before updating. It will also uninstall the Ansible Tower packages. Instead, do the following command.

# rpm -e <ansible-engine-package-name> --nodeps

Leave a Reply