mirror of
https://0xacab.org/liberate/trees.git
synced 2024-12-04 08:00:26 +01:00
30 lines
921 B
Ruby
30 lines
921 B
Ruby
##################################################
|
|
# 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
|
|
v.name = "trees-debian-stretch"
|
|
end
|
|
|
|
config.ssh.forward_agent = true
|
|
config.vm.synced_folder '.', '/vagrant', disabled: true
|
|
|
|
#############################################################
|
|
# 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
|