Just an example of Vagrantfile in case I need it. you can also use it.
$ mkdir vagrant ~/vagrant:~$ touch Vagrantfile ~/vagrant:~$ vagrant up
Vagrantfile:
# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "ubuntu/xenial64" config.vm.network "private_network", ip: "192.168.56.11" config.vm.provider "virtualbox" do |vb| vb.memory = "2048" end config.vm.provision :shell, :path => "gw.sh" config.vm.provision "ansible" do |ansible| ansible.playbook = "playbook.yml" ansible.limit = "all" ansible.verbose = "vv" ansible.raw_arguments = [ "--diff" ] end end