mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-14 05:02:27 +00:00
25 lines
688 B
Ruby
25 lines
688 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.configure("2") do |config|
|
|
config.vm.define "pip" 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"
|
|
end
|
|
end
|
|
config.vm.define "docker" do |docker|
|
|
docker.vm.box = "debian/stretch64"
|
|
|
|
docker.vm.network "forwarded_port", guest: 8008, host: 8009
|
|
docker.vm.network "forwarded_port", guest: 8448, host: 8449
|
|
|
|
docker.vm.provision "ansible" do |ansible|
|
|
ansible.playbook = "test-docker.yml"
|
|
end
|
|
end
|
|
end
|