mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-13 20:52:28 +00:00
49 lines
1.6 KiB
Ruby
49 lines
1.6 KiB
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.configure("2") do |config|
|
|
config.vm.define "pip-stretch" do |pip|
|
|
pip.vm.box = "debian/stretch64"
|
|
|
|
pip.vm.network "forwarded_port", guest: 8008, host: 8008
|
|
pip.vm.network "forwarded_port", guest: 8448, host: 8448
|
|
|
|
pip.vm.provision "ansible" do |ansible|
|
|
ansible.playbook = "test-pip.yml"
|
|
ansible.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
|
|
end
|
|
end
|
|
config.vm.define "pip-buster" do |pip|
|
|
pip.vm.box = "debian/buster64"
|
|
|
|
pip.vm.network "forwarded_port", guest: 8008, host: 8009
|
|
pip.vm.network "forwarded_port", guest: 8448, host: 8449
|
|
|
|
pip.vm.provision "ansible" do |ansible|
|
|
ansible.playbook = "test-pip.yml"
|
|
ansible.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
|
|
end
|
|
end
|
|
config.vm.define "docker-stretch" do |docker|
|
|
docker.vm.box = "debian/stretch64"
|
|
|
|
docker.vm.network "forwarded_port", guest: 8008, host: 8010
|
|
docker.vm.network "forwarded_port", guest: 8448, host: 8450
|
|
|
|
docker.vm.provision "ansible" do |ansible|
|
|
ansible.playbook = "test-docker.yml"
|
|
ansible.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
|
|
end
|
|
end
|
|
config.vm.define "docker-buster" do |docker|
|
|
docker.vm.box = "debian/buster64"
|
|
|
|
docker.vm.network "forwarded_port", guest: 8008, host: 8011
|
|
docker.vm.network "forwarded_port", guest: 8448, host: 8451
|
|
|
|
docker.vm.provision "ansible" do |ansible|
|
|
ansible.playbook = "test-docker.yml"
|
|
ansible.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
|
|
end
|
|
end
|
|
end
|