# -*- mode: ruby -*- Vagrant.configure(2) do |config| config.vm.box = "<%= options[:box] %>" config.vm.provider "<%= options[:provider] %>" config.vm.network "forwarded_port", guest: 3000, host: <%= options[:port] %> <% if options[:provisioner] == "ansible" %> config.vm.provision "ansible" do |ansible| ansible.playbook = "prov/ansible/site.yml" end <% end %> end