23 lines
559 B
Ruby
23 lines
559 B
Ruby
Vagrant.configure("2") do |config|
|
|
config.vm.box = 'debian/bullseye64'
|
|
|
|
config.vm.provider 'libvirt' do |domain|
|
|
domain.memory = 8000
|
|
domain.nested = true
|
|
domain.cpus = 2
|
|
end
|
|
|
|
config.vm.provision 'shell', inline: <<-MARK
|
|
apt-get update
|
|
apt-get install -y python3
|
|
MARK
|
|
config.vm.provision 'shell', inline: 'echo "SUCCESS"'
|
|
|
|
config.vm.provision 'ansible', after: :all do |ansible|
|
|
ansible.limit = 'all'
|
|
ansible.playbook = '../ansible/install.yml'
|
|
# ansible.inventory_path = '../inventories/vagrant.ini'
|
|
end
|
|
|
|
|
|
end
|