# Defines our Vagrant environment # # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "debian/bullseye64" # Pour ne pas avoir le nom default par defaut config.vm.define "gitlab" config.vm.hostname = "gitlab" config.vm.network :private_network, ip: "192.168.56.10" config.vm.provider "virtualbox" do |vb| vb.name = "gitlab" vb.memory = "4096" vb.cpus = 2 end config.vm.provision :shell, path: "bootstrap-mgmt.sh" config.vm.provision "ansible" do |ansible| ansible.playbook = "ansible/playbook.yml" ansible.groups = { "gitlab_servers" => ["gitlab"], "all_groups:children" => ["gitlab_servers"] end end