vagrant: bootstrap per VM
This commit is contained in:
parent
9965a58e47
commit
1accb487e6
14
Vagrantfile
vendored
14
Vagrantfile
vendored
@ -22,6 +22,12 @@ Vagrant.configure('2') do |config|
|
|||||||
libvirt.memory = 1024
|
libvirt.memory = 1024
|
||||||
libvirt.cpus = 2
|
libvirt.cpus = 2
|
||||||
end
|
end
|
||||||
|
c.vm.provision "ansible" do |bootstrap|
|
||||||
|
bootstrap.playbook= "ansible/playbooks/bootstrap.yml"
|
||||||
|
bootstrap.galaxy_roles_path= "ansible/roles"
|
||||||
|
bootstrap.limit="oscar-dev"
|
||||||
|
bootstrap.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.define "merlin-dev" do |c|
|
config.vm.define "merlin-dev" do |c|
|
||||||
@ -63,6 +69,12 @@ Vagrant.configure('2') do |config|
|
|||||||
libvirt.memory = 1024
|
libvirt.memory = 1024
|
||||||
libvirt.cpus = 2
|
libvirt.cpus = 2
|
||||||
end
|
end
|
||||||
|
c.vm.provision "ansible" do |bootstrap|
|
||||||
|
bootstrap.playbook= "ansible/playbooks/bootstrap.yml"
|
||||||
|
bootstrap.galaxy_roles_path= "ansible/roles"
|
||||||
|
bootstrap.limit="gerard-dev"
|
||||||
|
bootstrap.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.define "nas-dev" do |c|
|
config.vm.define "nas-dev" do |c|
|
||||||
@ -84,7 +96,7 @@ Vagrant.configure('2') do |config|
|
|||||||
c.vm.provision "ansible" do |bootstrap|
|
c.vm.provision "ansible" do |bootstrap|
|
||||||
bootstrap.playbook= "ansible/playbooks/bootstrap.yml"
|
bootstrap.playbook= "ansible/playbooks/bootstrap.yml"
|
||||||
bootstrap.galaxy_roles_path= "ansible/roles"
|
bootstrap.galaxy_roles_path= "ansible/roles"
|
||||||
bootstrap.limit="all"
|
bootstrap.limit="nas-dev"
|
||||||
bootstrap.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
|
bootstrap.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user