Vagrantfile
changeset 61 2dd82d9e2103
parent 60 48a3a65119d5
equal deleted inserted replaced
60:48a3a65119d5 61:2dd82d9e2103
     3 
     3 
     4 Vagrant.configure("2") do |config|
     4 Vagrant.configure("2") do |config|
     5   config.vm.box = "ubuntu/bionic64"
     5   config.vm.box = "ubuntu/bionic64"
     6 
     6 
     7   config.vm.network "forwarded_port", guest: 4000, host: 4000
     7   config.vm.network "forwarded_port", guest: 4000, host: 4000
       
     8   config.vm.network "forwarded_port", guest: 80, host: 8080
     8   # config.vm.synced_folder "../data", "/vagrant_data"
     9   # config.vm.synced_folder "../data", "/vagrant_data"
     9 
    10 
    10   # config.vm.provider "virtualbox" do |vb|
    11   # config.vm.provider "virtualbox" do |vb|
    11   #   # Display the VirtualBox GUI when booting the machine
    12   #   # Display the VirtualBox GUI when booting the machine
    12   #   vb.gui = true
    13   #   vb.gui = true
    16   # end
    17   # end
    17 
    18 
    18   config.vm.provision "ansible" do |ansible|
    19   config.vm.provision "ansible" do |ansible|
    19     ansible.limit = "all,localhost"
    20     ansible.limit = "all,localhost"
    20     # ansible.verbose = "vvv"
    21     # ansible.verbose = "vvv"
    21     ansible.playbook = "vagrant.yaml"
    22     ansible.playbook = "main.yaml"
    22     ansible.compatibility_mode = "2.0"
    23     ansible.compatibility_mode = "2.0"
    23   end
    24   end
    24 end
    25 end