Ansible: How To Install Ansible (Mac OS X, CentOS/Fedora, Ubuntu)

Install Ansible on Mac OS X:

sudo easy_install pip
sudo pip install ansible

Install Ansible on CentOS/Fedora:

sudo yum install ansible

The EPEL-Release repository may need to be added on certain versions of CentOS, RHEL, and Scientific Linux.

Install Ansible on Ubuntu:

sudo apt-get install software-properties-common
sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install ansible

Leave a Reply

Your email address will not be published. Required fields are marked *