initial commit
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
21
Vagrantfile
vendored
Normal file
21
Vagrantfile
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
# Use an Ubuntu 24.04 box (replace with an available box if necessary)
|
||||
config.vm.box = "generic/ubuntu2404"
|
||||
|
||||
# Configure VM provider resources (optional)
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
vb.memory = "4096"
|
||||
vb.cpus = 2
|
||||
end
|
||||
|
||||
# Use Ansible for provisioning
|
||||
config.vm.provision "ansible" do |ansible|
|
||||
ansible.playbook = "playbook.yml" # Path to the Ansible playbook relative to the Vagrantfile
|
||||
ansible.inventory_path = "inventory" # Path to the inventory file
|
||||
# Extra vars can be defined if needed
|
||||
# ansible.extra_vars = { some_var: "value" }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user