style: lint markdown
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
vincent 2022-11-29 22:08:34 +01:00
parent bcddfe7dd3
commit 53eaf5254d
6 changed files with 8 additions and 16 deletions

View File

@ -7,3 +7,4 @@ MD009:
MD013: false
MD033: false
MD024: false
MD041: false

View File

@ -9,15 +9,14 @@ this Homelab is build over Hashicorp software:
- Vault
## Rebuild
to rebuild from scratch ansible need a vault server up and unseal
you can rebuild a standalone vault server with a consul database snaphot with
```
```sh
make vault-dev FILE=./yourconsulsnaphot.snap
```
## Architecture
```mermaid

View File

@ -6,15 +6,13 @@ Accepted
## Context
we need to create a virtual cluster to do test without impact on production
diferent way:
we need to create a virtual cluster to do test without impact on production.
### Virtualisation or Container
Virtualisation provide better isolation but must ressource are needed.
Container able to create more item without consum as resource than virtual machine.
### Creation Wrapper
Vagrant is good top manage virtual machine but not a lot of LXC box availlable, Vagant van be use with other configuration manager than ansible.
@ -29,4 +27,3 @@ Molecule wrapper will be use because all our configuration is already provide b
## Consequences
Need to create dev env other an LXD server.

View File

@ -1,12 +1,9 @@
# Add a new job
## Create Nomad job
## Add secret to vault
## Add a new policy to Vault terraform
## Add Database creation in ansible variable (if neeeded)

View File

@ -1,13 +1,13 @@
# How to Bootstrap dev env
## prerequisite
dev environment is manage by molecule job who launch container via LXD you need following software to launch it:
- LXD server up on your local machine
- molecule install ``` pip install molecule```
- molecule install ```pip install molecule```
- molecule-LXD plugins ```pip install molecule-lxd```
## provissionning
you can launch ```make create-dev``` on root project
@ -20,6 +20,4 @@ molecule will create 3 container on different distribution
To bootstrap the container (base account, sudo configuration) role [ansible_bootstrap](https://git.ducamps.win/ansible-roles/ansible_bootstrap) will be apply
Converge step call playbook [site.yml](https://git.ducamps.win/vincent/homelab/src/commit/c5ff235b9768d91b240ec97e7ff8e2ad5a9602ca/ansible/site.yml) to provission the cluster