-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVagrantfile
More file actions
28 lines (24 loc) · 833 Bytes
/
Vagrantfile
File metadata and controls
28 lines (24 loc) · 833 Bytes
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.hostname = "sna"
config.vm.network :private_network, type: "dhcp"
config.vm.network "forwarded_port", guest: 3000, host: 8000
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--name", "sna", "--memory", "1024"]
end
config.vm.synced_folder "../sna-client/", "/var/www/sna-client"
config.ssh.insert_key = true
config.ssh.forward_agent = true
# Ansible provisioner.
config.vm.provision "ansible" do |ansible|
ansible.groups = {
"development" => ["default"]
}
ansible.playbook = "ansible/vagrant.yml"
ansible.host_key_checking = false
ansible.raw_arguments = ["--timeout=100"]
end
end