Hello, Seems there is an issue with ansible_local.
Can you check here? https://github.com/mitchellh/vagrant/issues/6870 <https://github.com/mitchellh/vagrant/issues/6870> They link to a PR that fix the issue that should be available on Vagrant 1.8.2 Thanks Alvaro. > On 14/01/2016, at 9:32 PM, pixel fairy <[email protected]> wrote: > > using vagrant 1.8.1 on os x (el capitan) > > the provisioner cant find ansible > > ==> default: Running provisioner: ansible_local... > default: Installing Ansible... > The Ansible software could not be found! Please verify > that Ansible is correctly installed on your guest system. > > > but it does install, > > pixel$ vagrant ssh -- which ansible > /usr/bin/ansible > > > heres the vagrant file > > VAGRANTFILE_API_VERSION = "2" > > Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| > config.vm.box = "ubuntu/trusty64" > config.vm.hostname = "ansible" > config.vm.provision "ansible_local" do |ansible| > ansible.playbook = "vagrant.yml" > ansible.install = true > end > end > > > and, if it matters, the playbook, > > --- > - hosts: all > sudo: true > tasks: > - name: ensure parallel is installed > apt: pkg=parallel state=latest > > > > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html > <https://www.hashicorp.com/community-guidelines.html>. Behavior in violation > of those guidelines may result in your removal from this mailing list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > <https://github.com/mitchellh/vagrant/issues> > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/1ff1ebc5-22b5-4e2d-b06f-ac511c43fe58%40googlegroups.com > > <https://groups.google.com/d/msgid/vagrant-up/1ff1ebc5-22b5-4e2d-b06f-ac511c43fe58%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/4E5ADB2D-8BD6-4458-9870-87A509AC7AD7%40gmail.com. For more options, visit https://groups.google.com/d/optout.
