Vagrantfile update
This commit is contained in:
parent
32d03cd555
commit
39d0762f1f
5
Vagrantfile
vendored
5
Vagrantfile
vendored
@ -8,7 +8,7 @@ Vagrant.configure("2") do |config|
|
|||||||
# Pour ne pas avoir le nom default par defaut
|
# Pour ne pas avoir le nom default par defaut
|
||||||
config.vm.define "gitlab"
|
config.vm.define "gitlab"
|
||||||
config.vm.hostname = "gitlab"
|
config.vm.hostname = "gitlab"
|
||||||
config.vm.network :private_network, ip: "192.168.56.10"
|
config.vm.network :private_network, ip: "192.168.56.4"
|
||||||
config.vm.provider "virtualbox" do |vb|
|
config.vm.provider "virtualbox" do |vb|
|
||||||
vb.name = "gitlab"
|
vb.name = "gitlab"
|
||||||
vb.memory = "4096"
|
vb.memory = "4096"
|
||||||
@ -16,9 +16,10 @@ Vagrant.configure("2") do |config|
|
|||||||
end
|
end
|
||||||
config.vm.provision :shell, path: "bootstrap-mgmt.sh"
|
config.vm.provision :shell, path: "bootstrap-mgmt.sh"
|
||||||
config.vm.provision "ansible" do |ansible|
|
config.vm.provision "ansible" do |ansible|
|
||||||
ansible.playbook = "ansible/playbook.yml"
|
ansible.playbook = "ansible/gitlab_server.yml"
|
||||||
ansible.groups = {
|
ansible.groups = {
|
||||||
"gitlab_servers" => ["gitlab"],
|
"gitlab_servers" => ["gitlab"],
|
||||||
"all_groups:children" => ["gitlab_servers"]
|
"all_groups:children" => ["gitlab_servers"]
|
||||||
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user