forked from NatLibFi/Skosmos
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Vagrantfile
27 lines (21 loc) · 829 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.network "forwarded_port", guest: 80, host: 8010
config.vm.network "forwarded_port", guest: 3030, host: 3030
config.vm.post_up_message = "Skosmos up and running at localhost:8010/Skosmos, Fuseki at localhost:3030"
config.vm.synced_folder "", "/var/www/html/Skosmos"
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
vb.cpus = "2"
# disable creating a log file to root folder:
vb.customize [ "modifyvm", :id, "--uartmode1", "disconnected" ]
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible/playbook.yml"
ansible.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
ansible.verbose = "v"
ansible.compatibility_mode = "2.0"
end
end