2019-02-15 02:24:30 +00:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
Vagrant.configure("2") do |config|
|
2019-10-05 18:49:54 +00:00
|
|
|
config.vm.define "pip-stretch" do |pip|
|
2019-02-16 10:25:57 +00:00
|
|
|
pip.vm.box = "debian/stretch64"
|
2019-02-15 02:24:30 +00:00
|
|
|
|
2019-02-16 10:25:57 +00:00
|
|
|
pip.vm.network "forwarded_port", guest: 8008, host: 8008
|
|
|
|
pip.vm.network "forwarded_port", guest: 8448, host: 8448
|
2019-02-15 02:24:30 +00:00
|
|
|
|
2019-02-16 10:25:57 +00:00
|
|
|
pip.vm.provision "ansible" do |ansible|
|
|
|
|
ansible.playbook = "test-pip.yml"
|
2019-10-05 18:49:37 +00:00
|
|
|
ansible.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
|
2019-02-16 10:25:57 +00:00
|
|
|
end
|
|
|
|
end
|
2019-10-05 18:49:54 +00:00
|
|
|
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|
|
2019-02-16 10:25:57 +00:00
|
|
|
docker.vm.box = "debian/stretch64"
|
|
|
|
|
2019-10-05 18:49:54 +00:00
|
|
|
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
|
2019-02-16 10:25:57 +00:00
|
|
|
|
|
|
|
docker.vm.provision "ansible" do |ansible|
|
|
|
|
ansible.playbook = "test-docker.yml"
|
2019-10-05 18:49:37 +00:00
|
|
|
ansible.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
|
2019-02-16 10:25:57 +00:00
|
|
|
end
|
2019-02-15 02:24:30 +00:00
|
|
|
end
|
|
|
|
end
|