Created
December 19, 2013 16:53
-
-
Save gonz/8042484 to your computer and use it in GitHub Desktop.
Run ansible locally vagrant provisioner
This file contains hidden or 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/sh | |
set -e | |
if [ ! -f /usr/local/bin/ansible-playbook ] | |
then | |
sudo apt-get update | |
sudo apt-get -y install python-setuptools python-dev | |
sudo easy_install pip | |
sudo pip install ansible | |
fi | |
ansible-playbook /vagrant/provisioning/vagrant.yml -i /vagrant/provisioning/development --connection=local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment