Skip to content

Instantly share code, notes, and snippets.

@scottharvey
Last active December 22, 2015 17:09
Show Gist options
  • Save scottharvey/6504369 to your computer and use it in GitHub Desktop.
Save scottharvey/6504369 to your computer and use it in GitHub Desktop.
Installing Anisible on Ubunutu
#!/usr/bin/env bash
# Before running this you will need to you `sudo apt-get install curl`
# Then: `curl -L https://gist.github.com/scottharvey/6504369/raw | bash`
sudo apt-get update
# Install Ansible dependencies
sudo apt-get -y install python-dev python-pip
sudo pip install PyYAML Jinja2 paramiko
# Get latest version of Ansible
mkdir ~/code
cd ~/code
sudo rm -rf ansible
git clone git://github.com/ansible/ansible.git
cd ./ansible
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment