mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-16 14:33:17 +02:00
21 lines
539 B
Ruby
21 lines
539 B
Ruby
# frozen_string_literal: true
|
|
|
|
Vagrant.configure('2') do |config|
|
|
config.vm.box = 'opensuse/Leap-15.6.x86_64'
|
|
config.vm.box_version = "15.6.13.280"
|
|
config.vm.define 'crowdsec'
|
|
|
|
config.vm.provision 'shell', path: 'bootstrap'
|
|
|
|
config.vm.provider :libvirt do |libvirt|
|
|
libvirt.cpus = 1
|
|
libvirt.memory = 1536
|
|
end
|
|
|
|
config.vm.synced_folder '.', '/vagrant', disabled: true
|
|
|
|
config.vm.provision 'ansible' do |ansible|
|
|
ansible.config_file = '../../../ansible.cfg'
|
|
ansible.playbook = '../../../run_all.yml'
|
|
end
|
|
end
|