Skip to content

Instantly share code, notes, and snippets.

@mcallari
Created May 5, 2015 15:02
Show Gist options
  • Save mcallari/6bf5879c033079985cd5 to your computer and use it in GitHub Desktop.
Save mcallari/6bf5879c033079985cd5 to your computer and use it in GitHub Desktop.
Provision an ansible playbook to run on a vagrant
ansible-playbook --private-key=/Users/mcallari/Projects/xx/xx/.vagrant/machines/portal/virtualbox/private_key --user=vagrant --connection=ssh --limit='portal' --inventory-file=/Users/xxx/.vagrant/provisioners/ansible/inventory --extra-vars={"ip_address":"172.22.22.99","project_name":"project","project_root":"/var/www/root/","project_docroot":"/var/www/docroot"} provisioning/site.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment