2022-10-16 09:09:02 +00:00
|
|
|
# Homelab
|
2022-06-08 19:49:38 +00:00
|
|
|
|
|
|
|
|
2022-10-16 09:09:02 +00:00
|
|
|
## Rebuild
|
2022-06-08 19:49:38 +00:00
|
|
|
to rebuild from scratch ansible need a vault server up and unseal
|
2022-10-16 09:09:02 +00:00
|
|
|
you can rebuild a standalone vault server with a consul database snaphot with
|
2022-06-08 19:49:38 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
make vault-dev FILE=./yourconsulsnaphot.snap
|
|
|
|
```
|
|
|
|
|
2022-10-14 12:23:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Architecture
|
|
|
|
|
|
|
|
```mermaid
|
|
|
|
flowchart LR
|
2022-10-14 14:02:31 +00:00
|
|
|
subgraph Home
|
|
|
|
oscar[oscar]
|
|
|
|
gerard[gerard]
|
|
|
|
end
|
|
|
|
subgraph Cloud
|
|
|
|
merlin[merlin]
|
|
|
|
end
|
|
|
|
oscar <--lan--> gerard
|
|
|
|
oscar <--wiregard--> merlin
|
|
|
|
gerard <--wiregard--> merlin
|
2022-10-14 12:23:29 +00:00
|
|
|
merlin <--> internet
|
|
|
|
|
|
|
|
```
|