Skip to content

Instantly share code, notes, and snippets.

@gauravve
Last active November 4, 2019 15:35
Show Gist options
  • Save gauravve/0f7ddefd2dfeb541eb4444bcc514448f to your computer and use it in GitHub Desktop.
Save gauravve/0f7ddefd2dfeb541eb4444bcc514448f to your computer and use it in GitHub Desktop.
Install ansible using pip on centos7
sudo rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm
#Yum
sudo yum -y update
sudo yum install -y python-devel
sudo yum install -y openssl-devel
sudo yum install -y libffi-devel
sudo yum -y install python-pip
#pip
sudo pip install --upgrade pip
sudo pip install ansible==2.0.0.2
sudo pip install --upgrade setuptools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment