-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathVagrantfile
30 lines (23 loc) · 1022 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 :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine.
# 7474 is the default Neo4j port. The port here must be the same as the one in vars/vagrant.yml
config.vm.network :forwarded_port, guest: 7474, host: 7474
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# The IP here should be the same as in vagrant_host
config.vm.network :private_network, ip: "10.0.0.74"
config.vm.provision "ansible" do |ansible|
ansible.playbook = "vagrant.yml"
ansible.inventory_path = "vagrant_host"
ansible.sudo = true
ansible.verbose = "vv"
ansible.limit = "all"
end
end