khuedoan-homelab/Vagrantfile

21 lines
405 B
Ruby
Raw Normal View History

2020-07-20 11:12:56 +07:00
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.provider "virtualbox" do |vb|
2020-07-23 16:47:31 +07:00
vb.cpus = 4
vb.memory = 8192
2020-07-20 11:12:56 +07:00
end
2020-07-23 11:41:20 +07:00
# LXD port
2020-07-20 14:37:48 +07:00
config.vm.network "forwarded_port", guest: 8443, host: 8443
2020-07-23 16:46:26 +07:00
config.disksize.size = '100GB'
2020-07-20 11:12:56 +07:00
config.vm.provision "ansible" do |ansible|
ansible.playbook = "playbook.yml"
end
end