diff --git a/Vagrantfile b/Vagrantfile index e3b569c..27773ba 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,7 +1,6 @@ Vagrant.configure("2") do |config| config.vm.box = "bento/ubuntu-24.04" - config.vm.network "forwarded_port", guest: 80, host: 8080 - config.vm.network "forwarded_port", guest: 443, host: 4443 + config.vm.network "private_network", ip: "192.168.56.110" config.vm.provision "shell" do |s| ssh_pub_key = File.readlines("/home/rralambo/.ssh/id_rsa.pub").first.strip s.inline = <<-SHELL diff --git a/inventory/local.yml b/inventory/local.yml index 49ccbc6..2f9e092 100644 --- a/inventory/local.yml +++ b/inventory/local.yml @@ -1,5 +1,5 @@ hosts: hosts: - 127.0.0.1: - ansible_port: 2222 + 192.168.56.110: + ansible_port: 22 ansible_user: vagrant \ No newline at end of file