Skip to content

Instantly share code, notes, and snippets.

@rwcitek
Last active May 18, 2017 08:32
Show Gist options
  • Save rwcitek/2baa67f912570d7d99b1 to your computer and use it in GitHub Desktop.
Save rwcitek/2baa67f912570d7d99b1 to your computer and use it in GitHub Desktop.
Installing Ansible on Ubuntu 10.04
# from http://docs.ansible.com/intro_installation.html#running-from-source
# as of 2015-02-08
## ansible on Ubuntu 10.04
# become root
sudo su -
# as root ...
apt-get update
apt-get -y install python-pip python-dev git-core make
pip install paramiko PyYAML Jinja2 httplib2
mkdir -p ~/src
cd ~/src
git clone git://github.com/ansible/ansible.git --recursive
cd ansible
source ./hacking/env-setup
make install
# test
export ANSIBLE_HOSTS=/dev/null
ansible --version
ansible localhost --list
ansible localhost -m ping
# future updates
cd ~/src/ansible
git pull --rebase
git submodule update --init --recursive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment