deploy/Vagrantfile
changeset 0 5f4fcbc80b37
child 5 b26c9c44dd84
equal deleted inserted replaced
-1:000000000000 0:5f4fcbc80b37
       
     1 # -*- mode: ruby -*-
       
     2 # vi: set ft=ruby :
       
     3 
       
     4 Vagrant.configure("2") do |config|
       
     5   config.vm.box = "maier/alpine-3.6-x86_64"
       
     6 
       
     7   config.vm.network "private_network", ip: "172.16.1.7"
       
     8   config.vbguest.auto_update = false
       
     9 
       
    10   # config.vm.provider :virtualbox do |vb|
       
    11   #   vb.gui = true
       
    12   # end
       
    13 
       
    14   # Enable provisioning with a shell script. Additional provisioners such as
       
    15   # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
       
    16   # documentation for more information about their specific syntax and use.
       
    17   # config.vm.provision "shell", inline: <<-SHELL
       
    18   #   apt-get update
       
    19   #   apt-get install -y python python3
       
    20   # SHELL
       
    21   config.vm.provision "shell", inline: <<-SHELL
       
    22     apk update
       
    23     apk upgrade
       
    24     apk add python python3
       
    25   SHELL
       
    26   config.vm.provision "ansible" do |ansible|
       
    27     ansible.playbook = "test_playbook.yml"
       
    28     ansible.compatibility_mode = "2.0"
       
    29   end
       
    30 end