Files
Netbox_Ansible/Vagrantfile
IluaAir 59cf25f145 init
2025-05-30 18:22:12 +03:00

17 lines
753 B
Ruby
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Vagrant.configure("2") do |config|
config.vm.box = "spox/ubuntu-arm" # Выбрать образ для х86
config.vm.provision "ansible_local" do |ansible|
ansible.become = true
ansible.playbook = "provisioning/playbook.yml"
ansible.config_file = "provisioning/ansible.cfg"
end
config.vm.provider :vmware_desktop do |hypervisor| # Заменить :virtualbox
hypervisor.gui = true
hypervisor.cpus = 2
hypervisor.memory = 4096
# hypervisor.vmx["ethernet0.virtualdev"] = "vmxnet3"
# hypervisor.ssh_info_public = true
hypervisor.linked_clone = false
hypervisor.vmx["vhv.enable"] = "TRUE" # Для аппаратной виртуализации
end
end