September 2018
Beginner to intermediate
214 pages
5h 53m
English
To be able to install Ansible using PyPI, we first need to have PyPI installed. It can be easily installed using most package managers, some of which are outlined in the following section.
The Red Hat Yum installation is implemented as follows:
sudo yum install -y python-pip
The Debian APT installation uses the following command:
sudo apt install -y python-pip
For other Linux systems, using Python:
sudo easy_install pip
The Mac OS X Homebrew installation is as follows:
brew install python-pip
From the PyPI repository, by having PyPI installed:
sudo pip install ansible
We can also use a GitHub source to get the latest development version:
sudo pip install git+https://github.com/ansible/ansible.git@devel
Read now
Unlock full access