In this blog post, we will learn how to upgrade Ansible 2.9 to Ansible 2.10, which is considered a major change.
Ansible 2.10 brings many changes, including a new upgrade process that requires us to uninstall Ansible and reinstalling it. The reason behind this is the fact that Ansible has been broken down into two packages (ansible and Ansible-Base).
The first step in the upgrade process requires us to un-install Ansible, and in my case, I’m going to uninstall Ansible version 2.9 that I have on my host.
If you had installed Ansible with a package manager (apt, yum, etc.) use the following command:
apt remove ansible
If you installed Ansible with pip use the following command (use pip or pip3)
pip3 uninstall ansible
Install Version 2.10
To install version 2.10 simply run the following command.
pip3 install ansible
To check the version number type
If you are new to managing Windows machines with Ansible visit our Ansible page.