-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
30 lines (23 loc) · 985 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
28
29
30
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "bento/ubuntu-16.04"
config.vm.network "forwarded_port", guest: 80, host: 8000 # Use guest's NGINX proxy
#config.vm.network "forwarded_port", guest: 8000, host: 8000 # Uses unix ports for django
config.vm.network "forwarded_port", guest: 8080, host: 8080
#config.vm.synced_folder "~/workspaces/ftf-geonode/ftf_geonode_project.git", "/home/vagrant/ftf_geonode_project.git"
#config.vm.synced_folder "~/workspaces/public/geonode.git", "/home/vagrant/geonode.git"
config.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.cpus = 2
vb.memory = 4096
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "playbook.yml"
#ansible.inventory_path = "ansible_hosts" Needs to be dynamically managed by Vagrant
ansible.limit = "all"
ansible.host_key_checking = false
ansible.verbose = "v"
ansible.raw_arguments = []
end
end