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-08-02 23:18:08 +07:00
|
|
|
config.vm.network "public_network", ip: "192.168.1.50"
|
2020-07-20 14:37:48 +07:00
|
|
|
|
2020-07-23 16:46:26 +07:00
|
|
|
config.disksize.size = '100GB'
|
|
|
|
|
2020-07-26 00:05:56 +07:00
|
|
|
config.vm.synced_folder "./", "/home/vagrant/data"
|
|
|
|
|
2020-07-20 11:12:56 +07:00
|
|
|
config.vm.provision "ansible" do |ansible|
|
|
|
|
ansible.playbook = "playbook.yml"
|
|
|
|
end
|
|
|
|
end
|