mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-10 20:05:55 +02:00
If you use a ./test/local directory, you need to create it again: $ make clean bats-build bats-fixture
20 lines
495 B
Ruby
20 lines
495 B
Ruby
# frozen_string_literal: true
|
|
|
|
Vagrant.configure('2') do |config|
|
|
config.vm.box = 'generic/hardenedbsd13'
|
|
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
|