ansible-collection-famedly-.../tests/Vagrantfile

26 lines
688 B
Ruby
Raw Normal View History

2019-02-15 02:24:30 +00:00
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "pip" do |pip|
pip.vm.box = "debian/stretch64"
2019-02-15 02:24:30 +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
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
2019-02-15 02:24:30 +00:00
end
end