mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-26 09:12:09 +07:00
Use official debian box and DHCP
This commit is contained in:
8
Vagrantfile
vendored
8
Vagrantfile
vendored
@@ -6,9 +6,9 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
|
||||
vms = [
|
||||
[ "debian-wheezy", "deb/wheezy-amd64" , "192.168.33.27" ],
|
||||
[ "debian-jessie", "deb/jessie-amd64", "192.168.33.28" ],
|
||||
[ "debian-stretch", "sharlak/debian_stretch_64", "192.168.33.29" ]
|
||||
[ "debian-wheezy", "debian/wheezy64" ],
|
||||
[ "debian-jessie", "debian/jessie64" ],
|
||||
[ "debian-stretch", "sharlak/debian_stretch_64" ]
|
||||
]
|
||||
|
||||
config.vm.provider "virtualbox" do |v|
|
||||
@@ -19,7 +19,7 @@ Vagrant.configure("2") do |config|
|
||||
vms.each do |vm|
|
||||
config.vm.define vm[0] do |m|
|
||||
m.vm.box = vm[1]
|
||||
m.vm.network "private_network", ip: vm[2]
|
||||
m.vm.network "private_network", type: "dhcp"
|
||||
|
||||
m.vm.provision "ansible" do |ansible|
|
||||
ansible.playbook = "tests/test.yml"
|
||||
|
||||
Reference in New Issue
Block a user