| 1 |
# frozen_string_literal: true |
| 2 |
|
| 3 |
Vagrant.configure('2') do |config| |
| 4 |
config.vm.box = 'opensuse/Leap-15.4.x86_64' |
| 5 |
config.vm.define 'crowdsec' |
| 6 |
|
| 7 |
config.vm.provision 'shell', path: 'bootstrap' |
| 8 |
|
| 9 |
config.vm.provider :libvirt do |libvirt| |
| 10 |
libvirt.cpus = 1 |
| 11 |
libvirt.memory = 1536 |
| 12 |
end |
| 13 |
|
| 14 |
config.vm.synced_folder '.', '/vagrant', disabled: true |
| 15 |
|
| 16 |
config.vm.provision 'ansible' do |ansible| |
| 17 |
ansible.config_file = '../../../ansible.cfg' |
| 18 |
ansible.playbook = '../../../run_all.yml' |
| 19 |
end |
| 20 |
end |