Created
November 26, 2013 00:09
-
-
Save gregbuehler/7651202 to your computer and use it in GitHub Desktop.
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 | |
(set -o igncr) 2>/dev/null && set -o igncr; # this comment is needed | |
set -e # stop on errors | |
export ANSIBLE_HOST_KEY_CHECKING=False | |
export ANSIBLE_SSH_ARGS="" | |
echo "ansible-playbook -u foo -vvvv -i /vagrant/inventory $1 -e \"base=../../.. WORKSPACE=/vagrant\" --limit $(hostname -s) --private-key /vagrant/insecure_private_key -c ssh" | |
ansible-playbook -u foo -vvvv -i /vagrant/inventory $1 -e "base=../../.. WORKSPACE=/vagrant" --limit $(hostname -s) --private-key /vagrant/insecure_private_key -c ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment