openstack-ansible-tests/Vagrantfile
Markos Chandras 6df06f4200 vagrant: Add openSUSE Leap 42.1
Add support for testing ansible roles against openSUSE Leap 42.1.
This also improves the run_tests.sh script and also adds support for
openSUSE bindep dependencies. Finally, it adds a new BINDEP_FILE
variable which can be used to set an alternative bindep.txt dependency
file.

Change-Id: I57357b119eb1d8eb7726401b8feb48d1ae08c470
2017-03-30 13:49:07 +01:00

26 lines
546 B
Ruby

Vagrant.configure(2) do |config|
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
config.vm.define "ubuntu1604" do |xenial|
xenial.vm.box = "ubuntu/xenial64"
xenial.vm.provision "shell", inline: <<-SHELL
sudo su -
cd /vagrant
./run_tests.sh
SHELL
end
config.vm.define "opensuse421" do |leap421|
leap421.vm.box = "opensuse/openSUSE-42.1-x86_64"
leap421.vm.provision "shell", inline: <<-SHELL
sudo su -
cd /vagrant
./run_tests.sh
SHELL
end
end