-
Notifications
You must be signed in to change notification settings - Fork 4
/
Vagrantfile
31 lines (24 loc) · 1.01 KB
/
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
##################################################
# Generated by phansible.com
##################################################
Vagrant.configure("2") do |config|
config.vm.provider :virtualbox do |v|
v.name = "slim-auth.dev"
v.customize ["modifyvm", :id, "--memory", 512]
end
config.vm.box = "trusty64"
config.vm.box_url = "https://vagrantcloud.com/ubuntu/trusty64/version/1/provider/virtualbox.box"
config.vm.network :private_network, ip: "192.168.56.102"
config.ssh.forward_agent = true
#############################################################
# Ansible provisioning (you need to have ansible installed)
#############################################################
config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible/playbook.yml"
end
config.vm.synced_folder "./", "/vagrant", id: "vagrant-root",
:nfs => false,
owner: "vagrant",
group: "www-data",
mount_options: ["dmode=775,fmode=664"]
end