Skip to content
Extraits de code Groupes Projets
Valider da33cfba rédigé par nono's avatar nono :computer:
Parcourir les fichiers

Mise en commentaire du lien entre ./ et /home/don/don

parent 984599ff
Branches
Étiquettes
3 requêtes de fusion!162Testing with ansible vagran,!160Remove piplomes, update fix login, fix campaign presentation,!155Resolve "Configurer le fichier Vagrant pour les test en local"
...@@ -14,6 +14,8 @@ Vagrant.configure("2") do |config| ...@@ -14,6 +14,8 @@ Vagrant.configure("2") do |config|
# boxes at https://vagrantcloud.com/search. # boxes at https://vagrantcloud.com/search.
config.vm.box = "debian/bullseye64" config.vm.box = "debian/bullseye64"
config.vm.define "don-debian64"
# Disable automatic box update checking. If you disable this, then # Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs # boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended. # `vagrant box outdated`. This is not recommended.
...@@ -23,7 +25,8 @@ Vagrant.configure("2") do |config| ...@@ -23,7 +25,8 @@ Vagrant.configure("2") do |config|
# within the machine from a port on the host machine. In the example below, # 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. # accessing "localhost:8080" will access port 80 on the guest machine.
# NOTE: This will enable public access to the opened port # 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 # 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 # within the machine from a port on the host machine and only allow access
...@@ -43,7 +46,13 @@ Vagrant.configure("2") do |config| ...@@ -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 host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third # the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options. # 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| config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible/playbook.yml" ansible.playbook = "ansible/playbook.yml"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter