-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
59 lines (47 loc) · 1.41 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- 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.ssh.insert_key = false
config.vm.define "ubuntu-precise" do |m|
m.vm.box = "ubuntu/precise64"
m.vm.hostname = "ubuntu-precise"
end
#config.vm.define "debian-jessie" do |m|
# m.vm.box = "debian/jessie64"
# m.vm.hostname = "debian-jessie"
#end
#config.vm.define "debian-wheezy" do |m|
# m.vm.box = "debian/wheezy64"
# m.vm.hostname = "debian-wheezy"
#end
config.vm.define "fedora-21", autostart: false do |m|
m.vm.box = "chef/fedora-21"
m.vm.hostname = "fedora-21"
end
#config.vm.define "fedora-20", autostart: false do |m|
# m.vm.box = "chef/fedora-20"
# m.vm.hostname = "fedora-20"
#end
#config.vm.define "centos-7" do |m|
# m.vm.box = "chef/centos-7.0"
# m.vm.hostname = "centos-7"
#end
#config.vm.define "centos-6" do |m|
# m.vm.box = "chef/centos-6.5"
# m.vm.hostname = "centos-6"
#end
config.vm.define "ubuntu-trusty" do |m|
m.vm.box = "ubuntu/trusty64"
m.vm.hostname = "ubuntu-trusty"
m.vm.provision "ansible" do |ansible|
ansible.playbook = "deploy.yml"
ansible.limit = 'all'
end
m.vm.provision "ansible" do |ansible|
ansible.playbook = "test.yml"
ansible.limit = 'all'
end
end
end