# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# config.vm.box = "maier/alpine-3.6-x86_64"
config.vm.box = "generic/alpine38"
config.vm.network "private_network", ip: "172.16.1.7", auto_config: false
config.vbguest.auto_update = false
# config.vm.provider :virtualbox do |vb|
# vb.gui = true
# end
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
# apt-get update
# apt-get install -y python python3
# SHELL
config.vm.provision "shell", inline: <<-SHELL
apk update
apk upgrade
apk add python python3
SHELL
config.vm.provision "ansible" do |ansible|
ansible.playbook = "test_playbook.yml"
ansible.compatibility_mode = "2.0"
end
end