Created
May 17, 2012 14:53
-
-
Save cocoy/2719440 to your computer and use it in GitHub Desktop.
testing ansible-pull
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
#!/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://github.com/ansible/ansible.git | |
cd ./ansible | |
source ./hacking/env-setup | |
echo "localhost" > ~/ansible_hosts | |
export ANSIBLE_HOSTS=~/ansible_hosts | |
ansible-pull -U git://github.com/cocoy/ansible-playbooks.git -d /mnt/playbooks | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment