diff --git a/Vagrantfile b/Vagrantfile index 56e99902074b8018583c556b54edb0e524ee24a7..0feddb27fe0e03d9389d17003673d140bf00e599 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -14,6 +14,8 @@ Vagrant.configure("2") do |config| # boxes at https://vagrantcloud.com/search. config.vm.box = "debian/bullseye64" + config.vm.define "don-debian64" + # Disable automatic box update checking. If you disable this, then # boxes will only be checked for updates when the user runs # `vagrant box outdated`. This is not recommended. @@ -23,7 +25,8 @@ Vagrant.configure("2") do |config| # within the machine from a port on the host machine. In the example below, # accessing "localhost:8080" will access port 80 on the guest machine. # NOTE: This will enable public access to the opened port - config.vm.network "forwarded_port", guest: 80, host: 8383 + # config.vm.network "forwarded_port", guest: 80, host: 3141 + config.vm.network "forwarded_port", guest: 8000, host: 3141 # Create a forwarded port mapping which allows access to a specific port # within the machine from a port on the host machine and only allow access @@ -43,7 +46,13 @@ Vagrant.configure("2") do |config| # the path on the host to the actual folder. The second argument is # the path on the guest to mount the folder. And the optional third # argument is a set of non-required options. - config.vm.synced_folder "./", "/home/don/don" + + # Si vous voulez avoir la possibilité de faire des modifications directement + # dans le dossier local, et voir les modifications sans avoir besoin de faire + # `vagrant provision`, vous pouvez décommenter la ligne ci-dessous avant de + # faire `vagrant up && vagrant provision`. + + # config.vm.synced_folder "./", "/home/don/don" config.vm.provision "ansible" do |ansible| ansible.playbook = "ansible/playbook.yml"