2021-12-10 19:57:20 +00:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'virtualbox'
|
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
##### VM definition #####
|
|
|
|
config.vm.define "phpservermon-dev" do |config|
|
|
|
|
config.vm.hostname = "phpservermon-dev"
|
|
|
|
config.vm.box = "bento/ubuntu-20.04"
|
|
|
|
config.vm.box_check_update = false
|
2021-12-27 22:56:35 +00:00
|
|
|
config.vm.network "private_network", ip: "192.168.56.100"
|
2021-12-10 19:57:20 +00:00
|
|
|
config.vm.provision :ansible do |ansible|
|
|
|
|
ansible.limit = "all"
|
|
|
|
ansible.playbook = "provision.yaml"
|
|
|
|
end
|
|
|
|
config.vm.provider "virtualbox" do |vb|
|
|
|
|
vb.memory = "2048"
|
|
|
|
vb.cpus = "2"
|
2014-12-05 14:05:52 +00:00
|
|
|
end
|
|
|
|
end
|
2021-12-10 19:57:20 +00:00
|
|
|
end
|