Skip to content

Instantly share code, notes, and snippets.

Created May 17, 2012 14:53
What would you like to do?
testing ansible-pull
#!/bin/bash -ex
# install needed packages for ansible
apt-get install -y -q python-paramiko python-yaml python-jinja2 python-simplejson
apt-get install -y -q git-core
# get ansible -- :)
git clone git://
cd ./ansible
source ./hacking/env-setup
echo "localhost" > ~/ansible_hosts
export ANSIBLE_HOSTS=~/ansible_hosts
ansible-pull -U git:// -d /mnt/playbooks
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment