From 7f80378970810ae821b84c4ca612dcf34ad68b2e Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 7 Feb 2026 22:56:58 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Vagrantfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Vagrantfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Vagrantfile diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..ebf53ea --- /dev/null +++ b/Vagrantfile @@ -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 \ No newline at end of file