Skip to content

Instantly share code, notes, and snippets.

@zhaoyao
Created August 28, 2014 09:36
Show Gist options
  • Save zhaoyao/21f8b702a394e7fa65da to your computer and use it in GitHub Desktop.
Save zhaoyao/21f8b702a394e7fa65da to your computer and use it in GitHub Desktop.
shortcut for ansible to play on local vagrant
#!/bin/sh
ansible-playbook \
-i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory \
--private-key=~/.vagrant.d/insecure_private_key \
-u vagrant \
$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment