-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
65 lines (53 loc) · 1.51 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
60
61
62
63
64
65
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-22.04"
config.vm.hostname = "scott-vm"
config.vm.define "desktop" do |lin|
lin.vm.provider "virtualbox" do |v|
v.cpus = 4
v.memory = 8000
end
lin.vm.provision "ansible", type: "ansible" do |ansible|
ansible.playbook = "desktop-master-playbook.yml"
end
lin.vm.provision "test", type: "ansible" do |ansible|
ansible.playbook = "test_playbook/test-playbook.yml"
end
end
config.vm.define "server" do |lin|
lin.vm.provider "virtualbox" do |v|
v.cpus = 4
v.memory = 4000
end
lin.vm.provision "ansible" do |ansible|
ansible.playbook = "server-master-playbook.yml"
end
end
config.vm.define "home-assistant-server" do |lin|
lin.vm.provider "virtualbox" do |v|
v.cpus = 4
v.memory = 4000
end
lin.vm.provision "ansible" do |ansible|
ansible.playbook = "home-assistant-server-master-playbook.yml"
end
end
config.vm.define "windows" do |win|
win.vm.provider "virtualbox" do |v|
v.cpus = 4
v.memory = 8000
end
win.vm.provision "ansible" do |ansible|
ansible.playbook = "windows-host-playbook.yml"
ansible.inventory_path = ".vagrant/provisioners/ansible/inventory"
end
end
config.vm.define "mac" do |mac|
mac.vm.provider "parallels" do |v|
v.cpus = 4
v.memory = 8000
end
mac.vm.provision "ansible" do |ansible|
ansible.playbook = "mac-host-playbook.yml"
end
end
end