You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
590 B

# Vagrantfile for gerri server
Vagrant.configure("2") do |config|
# Virtualization
config.vm.provider "libvirt" do |lv|
lv.cpus = 4
lv.memory = 4096
end
config.vm.provider "virtualbox" do |vb|
vb.cpus = 4
vb.memory = 4096
end
config.vm.synced_folder ".", "/etc/ansible/roles/haproxy", type: "rsync"
# Provision
config.vm.provision "test", type: "ansible", run: "once" do |test|
test.playbook = "tests/test.yml"
end
# Instance
config.vm.define "lb01" do |lb01|
lb01.vm.box = "fedora/34-cloud-base"
lb01.vm.hostname = "lb01"
end
end