Last active
August 29, 2015 14:19
-
-
Save riccardomurri/6681d0f4687bb55bbd85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# | |
# Install Ansible on a Ubuntu LTS machine. | |
# | |
set -ex | |
export LC_ALL=C | |
sudo apt-get update | |
sudo apt-get install -y \ | |
build-essential \ | |
curl \ | |
git-core \ | |
libxml2-dev \ | |
libxslt1-dev \ | |
libyaml-dev \ | |
python-apt \ | |
python-dev \ | |
python-pip \ | |
python-software-properties \ | |
software-properties-common \ | |
; | |
wget https://bitbucket.org/pypa/setuptools/raw/0.8/ez_setup.py -O - | sudo python | |
sudo -H pip install --upgrade pip | |
sudo -H pip install --upgrade virtualenv | |
sudo -H pip install ansible |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment