-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
32 lines (28 loc) · 996 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 :
Vagrant.configure(2) do |config|
config.vm.define "patternlab" do |patternlab|
patternlab.vm.box = "debian"
patternlab.vm.box_url = "ftp://ftp.lugons.org/vagrant/debian-8.0-x86_64.box"
patternlab.vm.hostname = "vagrant.patternlab.local"
patternlab.vm.network :private_network, ip: "192.168.33.40"
patternlab.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
end
patternlab.vm.synced_folder "./patternlab",
"/var/www/html/",
:id => "www-root",
:owner => nil,
:group => nil,
:nfs => {
mount_options: ["dmode=777,fmode=776"]
}
patternlab.vm.provision "ansible" do |ansible|
ansible.playbook = "provision/site.yml"
ansible.host_key_checking = false
ansible.groups = {
"vagrant" => ["patternlab"],
}
end
end
end