vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
VagrantPlugins::Ansible::Provisioner::Guest#check_and_install_ansible
This handles verifying the Ansible installation, installing it if it was
requested, and so on. This method will raise exceptions if things are wrong.
Current limitations:
- The installation of a specific Ansible version is not supported.
Such feature is difficult to systematically provide via package repositories (apt, yum, ...).
Installing via pip python packaging or directly from github source would be appropriate,
but these approaches require more dependency burden.
- There is no guarantee that the automated installation will replace
a previous Ansible installation.Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open plugins/provisioners/ansible/provisioner/guest.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-VagrantPlugins--Ansible--Provisioner--Guest-check_and_install_ansible-for-pr
# Commit to gitgit add plugins/provisioners/ansible/provisioner/guest.rbgit commit -m "better docs for VagrantPlugins::Ansible::Provisioner::Guest#check_and_install_ansible"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-VagrantPlugins--Ansible--Provisioner--Guest-check_and_install_ansible-for-pr
hub pull-request
# Celebrate!