1# -*- mode: ruby -*- 2# vi: set ft=ruby : 3 4Vagrant.configure("2") do |config| 5 config.vm.box = "ubuntu/bionic64" 6 config.vm.define "surveytool" 7 config.vm.hostname = "surveytool" 8 # forward http and https 9 config.vm.network "forwarded_port", guest: 80, host: 8880 10 # Just the minimum to get ansible going 11 config.vm.provision "shell", inline: <<-SHELL 12 apt-get update 13 apt-get install -y python3 sudo 14 SHELL 15 config.vm.provision "ansible" do |ansible| 16 ansible.playbook = "setup-playbook.yml" 17 end 18end 19