vagrant Provision Minimal setup


Example

Vagrantfile

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

vagrant-playbook.yml

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