-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
34 lines (29 loc) · 985 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
# This guide is optimized for Vagrant 1.7 and above.
# Although versions 1.6.x should behave very similarly, it is recommended
# to upgrade instead of disabling the requirement below.
Vagrant.require_version ">= 1.7.0"
Vagrant.configure(2) do |config|
config.vm.box = "debian/buster64"
config.vm.synced_folder ".", "/vagrant", disabled: true
# Disable the new default behavior introduced in Vagrant 1.7, to
# ensure that all Vagrant machines will use the same SSH key pair.
# See https://github.com/mitchellh/vagrant/issues/5005
config.ssh.insert_key = false
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 1
end
config.vm.provider "libvirt" do |v|
v.memory = 2048
v.cpus = 1
end
config.vm.define :default do |default|
default.vm.provision :ansible do |ansible|
ansible.verbose = "v"
ansible.playbook = "playbooks/deploy.yml"
ansible.groups = {
"valheim" => ["default"]
}
end
end
end