April 2020
Intermediate to advanced
482 pages
15h 16m
English
In order to install Ansible in a Python 3 environment and to have more control over the version of Ansible deployed, we are going to use the pip Python program to install Ansible as shown here:
# Ubuntu$ sudo apt-get install python3# CentOSsudo yum install python3
# Ubuntu$ sudo apt-get install python3-pip# CentOS$ sudo yum install python3-pip
# Ubuntu and CentOS# This will install ansible for the current user ONLY$ pip3 install ansible==2.9 --user# We Can install ansible on the System Level$ sudo pip3 install ansible==2.9
$$ ansible --version ...
Read now
Unlock full access