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

ansible_local - does not work with ansible 2.0.1.0 installed on guest #7166

Closed
COLABORATI opened this issue Mar 21, 2016 · 3 comments
Closed

Comments

@COLABORATI
Copy link

==> default: Running provisioner: ansible_local...
The Ansible software could not be found! Please verify that Ansible is correctly installed on your guest system.

But ansible is installed on the guest:

vagrant@monitor:~$ ansible --version
ansible 2.0.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides

I just want to add that the root of this problem is that vagrant_local seems to have a hardcoded ansible version < 2 and this makes it impossible to run ansible roles that need version 2.

Yes, it hurts very much.

@COLABORATI COLABORATI changed the title ansible_local does not work with ansible 2.0.1.0 installed on guest ansible_local - does not work with ansible 2.0.1.0 installed on guest Mar 21, 2016
@sethvargo
Copy link
Contributor

/cc @gildegoma

@gildegoma
Copy link
Collaborator

@COLABORATI I'm very sorry that you're having a bad experience with this first release of the ansible_local provisioner. It is true, that it unfortunately suffers from very annoying bugs, but we'll try our best to keep improving it in the next Vagrant versions.

The problem you're reporting here has been actually tracked with #6793, and is originally caused by ansible/ansible#12004 (a regression introduced after that Vagrant 1.8 was released). This has been fixed in master (patch: 9dbdb93) and will be part of the future Vagrant 1.8.2.

Closing as duplicate of #6793.

@COLABORATI
Copy link
Author

Thanks for your attention and for your efforts!

@ghost ghost locked and limited conversation to collaborators Apr 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants