我的主机配置如下:
hedin@home:~/123$ lsb_release -rcd
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
hedin@home:~/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
当我尝试部署它时,我收到以下输出:
hedin@home:~/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.
我怎样才能解决这个问题?