0
我有我的主機的這種配置:如何使用vagrant 1.7.4設置ansible_local?
[email protected]:~/123$ lsb_release -rcd
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
[email protected]:~/123$ vagrant -v
Vagrant 1.7.2
我嘗試部署我的客人與ansible_local規定。這是我的流浪文件:
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
# Run Ansible from the Vagrant VM
config.vm.provision "ansible_local" do |ansible|
ansible.playbook = "playbook.yml"
end
end
當我嘗試將它部署到我收到此輸出:
[email protected]:~/123$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm:
* The '' provisioner could not be found.
我該如何解決這個問題?
你能證明你的劇本文件所以你的問題可以完全轉載? –
我的劇本是空的。 –
問題是由Vagrant版本引起的。當我升級到1.8.5。它是固定的。 –