# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "debian/bookworm64" config.vm.hostname = "dokuwiki" config.vm.network "forwarded_port", guest: 80, host: 8080 #redirection de port pour le dokuwiki config.vm.network "forwarded_port", guest: 22, host: 2022 #redirection de port pour le ssh config.vm.provision "shell", inline: <<-SHELL timedatectl set-timezone apt-get update apt-get install -y curl wget vim neovim mc SHELL config.vm.provision "ansible" do |ansible| ansible.playbook = "local.yml" # lance le playbook local.yml end end