最小的設定

Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/trusty64"
  config.vm.provision "ansible" do |ansible|
    ansible.playbook = "vagrant-playbook.yml"
  end
end

無業遊民,playbook.yml

  tasks:
    - name: Say hello
      debug:
        msg: 'Hello, World'