-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
36 lines (26 loc) · 918 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
33
34
35
36
#!/usr/bin/env ruby
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network :private_network, ip: "192.168.5.100"
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--memory", "512"]
v.name = "imgservice"
end
config.vm.define "imgservice" do |imgservice|
end
config.hostsupdater.remove_on_suspend = true
config.vm.hostname = "img.h4md1.dev"
config.hostsupdater.aliases = ["img0.h4md1.dev"]
config.vm.provision "ansible" do |ansible|
ansible.limit= "all"
ansible.playbook = "provision/playbook.local.yml"
end
config.vm.provision "ansible" do |ansible|
ansible.limit= "all"
ansible.playbook = "provision/playbook.yml"
end
config.vm.synced_folder "./application", "/var/www/img/", :nfs => true, :nfs_udp => true
end