docs: add vagrant docs

This commit is contained in:
vincent 2023-08-25 14:12:22 +02:00
parent d72f6d540e
commit 8e30abd428
2 changed files with 20 additions and 2 deletions

View File

@ -2,12 +2,24 @@
This repository contain my homelab Infrastructure As Code This repository contain my homelab Infrastructure As Code
this Homelab is build over Hashicorp software: this Homelab is build over Hashicorp software stack:
- Nomad - Nomad
- Consul - Consul
- Vault - Vault
## Dev
dev stack is build over vagrant box with libvirt provider
curently need to have vault and ldap production up to be correctly provision
to launch dev stack provissionning :
```sh
make create-dev
```
## Rebuild ## Rebuild
to rebuild from scratch ansible need a vault server up and unseal to rebuild from scratch ansible need a vault server up and unseal

View File

@ -24,6 +24,12 @@ we will use container instead VM for the resource consumption avantage.
Molecule wrapper will be use because all our configuration is already provide by ansible and we can have a better choise of container with molecule than vagrant. Molecule wrapper will be use because all our configuration is already provide by ansible and we can have a better choise of container with molecule than vagrant.
25/08/2023
some issue are meet with lxc (share kernel, privilege, plugin not maintain)
I have increase RAM on my computer so I can switch to virtual machine for the dev env
instead to build vagrant VM in a molecule playbooke we only use a vagrant file to avoid toi many overlay to maintain.
## Consequences ## Consequences
Need to create dev env other an LXD server. migrate molecule provissioning on dedicated vagrant file