Ansible Version > 2.9.x - Ubuntu 20.04 LTS

August 11, 2021

How to install Ansible in the latests version on Ubuntu 20.04 LTS

If you use apt install ansible this will result in an old version of Ansible:

To get the new version of ansible you have to remove the old version (if installed)

apt remove ansibe

Installation of the Ansible version via Python3-Pip:

Update all repos:

sudo apt update

Install Python3-Pip:

sudo apt install python3-pip

Install Ansible via Pip:

python3 -m pip install ansible

Edit the bash.rc:

vi ~/.bashrc
export PATH=$PATH:$HOME/.local/bin

Es wurden noch keine Kommentare verfasst, sei der erste!