Добавить Vagrantfile

This commit is contained in:
2026-02-07 22:56:58 +03:00
parent ca0136079b
commit 7f80378970

15
Vagrantfile vendored Normal file
View File

@@ -0,0 +1,15 @@
Vagrant.configure(2) do |config|
config.vm.define "ubuntu" do |srv|
srv.vm.box = "ubuntu/jammy64"
srv.vm.hostname = "ubuntu"
srv.vm.network(:forwarded_port, guest: 8080, host: 8080, host_ip: "127.0.0.1")
srv.vm.provider "virtualbox" do |vb|
vb.memory = 512
vb.cpus = 1
end
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "install_nginx.yml"
ansible.become = "true"
end
end