Modif kea-dhcp-ha et stork

This commit is contained in:
phil
2025-01-24 00:24:26 +01:00
parent b5b2181d4f
commit 758a0ddb75
9 changed files with 341 additions and 188 deletions

View File

@@ -16,15 +16,20 @@ Vagrant.configure("2") do |config|
v.customize ["modifyvm", :id, "--ioapic", "on"]
end
# MySQL.
config.vm.define "db" do |db|
db.vm.hostname = "db.test"
db.vm.network :private_network, ip: "192.168.56.5"
db.vm.provision "shell",
# stork.
config.vm.define "stork" do |stork|
stork.vm.hostname = "stork"
stork.vm.network :private_network, ip: "192.168.56.5"
stork.vm.provision "shell",
inline: "sudo apt-get update ; sudo apt-get install -y vim curl wget"
# db.vm.provision "ansible" do |ansible|
# ansible.playbook = "provision/setup-db.yml"
# end
stork.vm.provision "ansible" do |ansible|
ansible.extra_vars = {
stork_db_name: "stork",
stork_db_user: "stork-server",
stork_db_passwd: "stork-passwd",
}
ansible.playbook = "provision/setup-stork.yml"
end
end
# Kea DHCP server 1.