Skip to content

Instantly share code, notes, and snippets.

@riccardomurri
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save riccardomurri/6681d0f4687bb55bbd85 to your computer and use it in GitHub Desktop.
Save riccardomurri/6681d0f4687bb55bbd85 to your computer and use it in GitHub Desktop.
#! /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