add bootstrap-dev docs
This commit is contained in:
parent
cd66acfa7e
commit
7bd66ecdad
25
docs/Bootstrap-dev.md
Normal file
25
docs/Bootstrap-dev.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# 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-LXD plugins ```pip install molecule-lxd```
|
||||||
|
|
||||||
|
|
||||||
|
## provissionning
|
||||||
|
|
||||||
|
you can launch ```make create-dev``` on root project
|
||||||
|
|
||||||
|
molecule will create 3 container on different distribution
|
||||||
|
|
||||||
|
- archlinux
|
||||||
|
- rockylinux 9
|
||||||
|
- debian 11
|
||||||
|
|
||||||
|
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/ansible-roles/ansible_bootstrap) to provission the cluster
|
||||||
|
|
Loading…
Reference in New Issue
Block a user