Vagrantfile
changeset 93 976670b2ca63
parent 92 d4924111ce28
child 94 7082ab4828c5
equal deleted inserted replaced
92:d4924111ce28 93:976670b2ca63
     1 # -*- mode: ruby -*-
       
     2 # vi: set ft=ruby :
       
     3 
       
     4 Vagrant.configure("2") do |config|
       
     5   config.vm.box = "ubuntu/bionic64"
       
     6 
       
     7   config.vm.network "forwarded_port", guest: 4000, host: 4000
       
     8   config.vm.network "forwarded_port", guest: 80, host: 8080
       
     9   # config.vm.synced_folder "../data", "/vagrant_data"
       
    10 
       
    11   # config.vm.provider "virtualbox" do |vb|
       
    12   #   # Display the VirtualBox GUI when booting the machine
       
    13   #   vb.gui = true
       
    14   #
       
    15   #   # Customize the amount of memory on the VM:
       
    16   #   vb.memory = "1024"
       
    17   # end
       
    18 
       
    19   config.vm.provision "ansible" do |ansible|
       
    20     ansible.limit = "all,localhost"
       
    21     # ansible.verbose = "vvv"
       
    22     ansible.playbook = "main.yaml"
       
    23     ansible.compatibility_mode = "2.0"
       
    24   end
       
    25 end