Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ability to pip install Ansible at specific git url #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grenzr
Copy link

@grenzr grenzr commented Dec 1, 2015

This is useful if you need to install Ansible at a specific git url including branch/tag.

Personally, I needed to pip install the latest stable-1.9 branch of Ansible into my machine to pick up a specific change which hadn't made its way into a released version yet.

Just set ansible_git_url config param in your Vagrantfile for example:

  provisioner = Vagrant::Util::Platform.windows? ? :guest_ansible : :ansible

  config.vm.provision provisioner do |ansible|
    ansible.playbook = "ansible/devbox.yml"
    if provisioner == :guest_ansible
      ansible.ansible_git_url = "https://github.com/ansible/[email protected]"
    end
   ...
  end

@slicedevca
Copy link
Collaborator

@grenzr Hi just joined this project as a maintainer. Could you please explain your use case and how you tested your solution so that I can test as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants