update vagrantfile to use garage vagrant box
This commit is contained in:
parent
e2286a5cf9
commit
10936681f7
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@ -9,7 +9,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
|
|
||||||
# Box configuration (globale)
|
# Box configuration (globale)
|
||||||
config.vm.box = settings['box']['name']
|
config.vm.box = settings['box']['name']
|
||||||
config.vm.box_url = settings['box']['url']
|
# config.vm.box_url = settings['box']['url']
|
||||||
|
|
||||||
settings['vms'].each do |vm|
|
settings['vms'].each do |vm|
|
||||||
config.vm.define vm['name'] do |node|
|
config.vm.define vm['name'] do |node|
|
||||||
@ -19,7 +19,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
config.vm.provider settings['provider']['type'].to_sym do |v|
|
config.vm.provider settings['provider']['type'].to_sym do |v|
|
||||||
v.memory = vm['memory']
|
v.memory = vm['memory']
|
||||||
|
|
||||||
# Provisioning configuration for Ansible.
|
# Provisioning configuration for Ansible.
|
||||||
config.vm.provision "ansible" do |ansible|
|
config.vm.provision "ansible" do |ansible|
|
||||||
ansible.playbook = "playbooks/install.yml"
|
ansible.playbook = "playbooks/install.yml"
|
||||||
end
|
end
|
||||||
|
|||||||
@ -5,8 +5,8 @@ vms:
|
|||||||
memory: 1024
|
memory: 1024
|
||||||
|
|
||||||
box:
|
box:
|
||||||
name: "local/debian-13"
|
name: "garagenum/debian-13"
|
||||||
url: "https://git.legaragenumerique.fr/GARAGENUM/vagrant-boxes/raw/main/debian-13/debian-13-3-3.box"
|
# url: "https://git.legaragenumerique.fr/GARAGENUM/vagrant-boxes/raw/main/debian-13/debian-13-3-3.box"
|
||||||
|
|
||||||
|
|
||||||
provider:
|
provider:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user