Skip to content

Instantly share code, notes, and snippets.

@MatthewJDavis
Last active March 10, 2018 11:20
Show Gist options
  • Select an option

  • Save MatthewJDavis/d6e78d9ba81e09fc4ad99ee8330f1ce3 to your computer and use it in GitHub Desktop.

Select an option

Save MatthewJDavis/d6e78d9ba81e09fc4ad99ee8330f1ce3 to your computer and use it in GitHub Desktop.
Install Ansible ubuntu with PIP
#Distributor ID: Ubuntu
#Description: Ubuntu 14.04.5 LTS
#Release: 14.04
#Codename: trusty
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install python-pip -y
pip install --upgrade pip
sudo pip install markupsafe
sudo pip install xmltodict
sudo apt-get install build-essential libssl-dev libffi-dev python-dev -y
#following needed for windows hosts
sudo pip install pywinrm
sudo pip install ansible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment