2020-07-20 11:12:56 +07:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
Vagrant.configure("2") do |config|
|
2020-08-10 01:00:10 +07:00
|
|
|
config.vm.box = "centos/8"
|
2020-07-20 11:12:56 +07:00
|
|
|
|
2020-10-03 13:17:57 +07:00
|
|
|
config.vm.provider "libvirt" do |libvirt|
|
|
|
|
libvirt.cpus = 4
|
|
|
|
libvirt.memory = 8192
|
|
|
|
libvirt.nested = true
|
2020-07-20 11:12:56 +07:00
|
|
|
end
|
|
|
|
|
2020-10-03 13:16:27 +07:00
|
|
|
config.vm.network :public_network,
|
|
|
|
:dev => "virbr0",
|
|
|
|
:mode => "bridge",
|
|
|
|
:type => "bridge"
|
2020-07-20 14:37:48 +07:00
|
|
|
|
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|
|
2020-10-11 13:06:39 +07:00
|
|
|
ansible.playbook = "ansible/playbook.yml"
|
2020-07-20 11:12:56 +07:00
|
|
|
end
|
|
|
|
end
|