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
|
|
|
|
|
|
|
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-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|
|
|
|
|
ansible.playbook = "playbook.yml"
|
|
|
|
end
|
|
|
|
end
|