-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
32 lines (24 loc) · 976 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
31
32
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "bento/ubuntu-16.04"
config.vm.define "$PROJECT_NAME" do |$PROJECT_NAME|
end
# uncomment this if you have github/kdl keys enabled on host machine
# and want to push or deploy without entering password each time
# config.ssh.forward_agent = true
config.vm.network "forwarded_port", guest: 8000, host: 8000
config.vm.network "forwarded_port", guest: 5432, host: 5432
config.vm.network "forwarded_port", guest: 9200, host: 9200
config.vm.network "private_network", ip: "192.168.20.17"
config.vm.provider "virtualbox" do |provider|
provider.customize ["modifyvm", :id, "--memory", "2048"]
provider.name = "$PROJECT_NAME"
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = ".vagrant_provisioning/playbook.yml"
# ansible.tags = ""
# ansible.verbose = "vvv"
end
end