14 lines
419 B
Ruby
14 lines
419 B
Ruby
# Default to buster, but just set env variable to, for example,
|
|
# "debian/bullseye64" to run test against bullseye.
|
|
OS_TO_TEST = ENV["OS_TO_TEST"] || "debian/buster64"
|
|
|
|
Vagrant.configure("2") do |config|
|
|
config.vm.box = OS_TO_TEST
|
|
config.vm.network "private_network", ip: "10.10.10.10"
|
|
|
|
config.vm.provision "ansible" do |ansible|
|
|
ansible.compatibility_mode = "2.0"
|
|
ansible.playbook = "test.yml"
|
|
end
|
|
end
|