You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
522 B
19 lines
522 B
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.configure("2") do |config|
|
|
config.vm.box = "ubuntu/bionic64"
|
|
config.vm.define "surveytool"
|
|
config.vm.hostname = "surveytool"
|
|
# forward http and https
|
|
config.vm.network "forwarded_port", guest: 80, host: 8880
|
|
# Just the minimum to get ansible going
|
|
config.vm.provision "shell", inline: <<-SHELL
|
|
apt-get update
|
|
apt-get install -y python3 sudo
|
|
SHELL
|
|
config.vm.provision "ansible" do |ansible|
|
|
ansible.playbook = "setup-playbook.yml"
|
|
end
|
|
end
|