openBAO vault on vagrant
This commit is contained in:
23
openBao/Vagrantfile
vendored
Normal file
23
openBao/Vagrantfile
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = "utm/ubuntu-24.04"
|
||||
config.vm.hostname = "lake-lab01"
|
||||
|
||||
config.vm.provider :utm do |u|
|
||||
u.name = "lake lab01"
|
||||
u.cpus = 2
|
||||
u.memory = 2048
|
||||
end
|
||||
|
||||
config.vm.network "forwarded_port", guest: 8200, host: 8200
|
||||
|
||||
config.vm.provision "shell", inline: <<-SHELL
|
||||
set -eux
|
||||
apt-get update
|
||||
apt-get install -y ansible
|
||||
SHELL
|
||||
|
||||
config.vm.provision "ansible_local" do |ansible|
|
||||
ansible.playbook = "/vagrant/ansible/site.yaml"
|
||||
ansible.install = false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user