2018-07-13 11:47:41 +02:00
|
|
|
##################################################
|
|
|
|
# Generated by phansible.com
|
|
|
|
##################################################
|
|
|
|
|
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
|
|
|
|
config.vm.box = "debian/stretch64"
|
|
|
|
config.vm.hostname = "trees.testing"
|
|
|
|
config.vm.network :private_network, ip: "192.168.22.77"
|
|
|
|
config.vm.define "trees.testing"
|
|
|
|
config.vm.provider "virtualbox" do |v|
|
|
|
|
v.memory = 1024
|
|
|
|
v.cpus = 2
|
2018-07-18 11:41:15 +02:00
|
|
|
v.name = "trees-debian-stretch"
|
2018-07-13 11:47:41 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
config.ssh.forward_agent = true
|
2018-08-04 11:55:42 +02:00
|
|
|
config.vm.synced_folder '.', '/vagrant', disabled: true
|
2018-07-13 11:47:41 +02:00
|
|
|
|
|
|
|
#############################################################
|
|
|
|
# Ansible provisioning (you need to have ansible installed)
|
|
|
|
#############################################################
|
|
|
|
|
|
|
|
config.vm.provision "ansible" do |ansible|
|
|
|
|
ansible.compatibility_mode = "2.0"
|
|
|
|
ansible.playbook = "ansible/playbook.yml"
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|