Last active
May 18, 2017 08:32
-
-
Save rwcitek/2baa67f912570d7d99b1 to your computer and use it in GitHub Desktop.
Installing Ansible on Ubuntu 10.04
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
# 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