Назад | Перейти на главную страницу

vagrant 1.8.1, похоже, не устанавливает ansible, если он указан в ansible_local

Мой провайдер такой:

config.vm.provision :ansible_local do |ansible|
  ansible.playbook = '/home/deploy/sosd/local/ansible/sosd.yml'
  ansible.install = true
end

Но на vagrant up вроде не устанавливается:

==> 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.

If you haven't installed Ansible yet, please install Ansible
on your Vagrant basebox, or enable the automated setup with the
`install` option of this provisioner. Please check
https://docs.vagrantup.com/v2/provisioning/ansible_local.html
for more information.

Что я делаю не так?

Ах, это проблема с vagrant 1.8.1 и ansible 2.x, он устанавливается нормально, но не может быть обнаружен. https://github.com/mitchellh/vagrant/issues/6868