19 lines
556 B
Ruby
19 lines
556 B
Ruby
Vagrant.require_version ">= 1.7.0"
|
|
|
|
Vagrant.configure(2) do |config|
|
|
config.vm.network "forwarded_port", guest: 19022, host: 19022, id: "new_ssh"
|
|
config.vm.define "datacoop" do |datacoop|
|
|
datacoop.vm.box = "ubuntu/focal64"
|
|
datacoop.vm.hostname = "datacoop"
|
|
datacoop.vm.provider "virtualbox" do |v|
|
|
v.memory = 4096
|
|
end
|
|
datacoop.vm.provision "ansible" do |ansible|
|
|
ansible.compatibility_mode = "2.0"
|
|
ansible.playbook = "playbook.yml"
|
|
ansible.ask_vault_pass = true
|
|
ansible.verbose = "v"
|
|
end
|
|
end
|
|
end
|