edit Readme to use full Markdown syntax
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
268a346a19
commit
1684328d45
30
README.md
30
README.md
|
@ -1,18 +1,30 @@
|
|||
# Tsunami
|
||||
|
||||
**Netbox + XO + Terraform + Ansible = The best deployment kit**
|
||||
|
||||
How to run:<br>
|
||||
cp passwd.auto.tfvars.example passwd.auto.tfvars<br>
|
||||
replace all variable to match your infrastructure
|
||||
## Configuration
|
||||
|
||||
edit cloud_network_config.tftpl to replace eth0 (to be changed)
|
||||
replace your variables:
|
||||
```bash
|
||||
# copy password template
|
||||
cp passwd.auto.tfvars.example passwd.auto.tfvars
|
||||
|
||||
create a prefix with IP you want to use on netbox <br>
|
||||
edit variables.auto.tfvars
|
||||
# edit with your infra passwords
|
||||
nano passwd.auto.tfvars
|
||||
|
||||
# set your template vm network interface
|
||||
nano cloud_network_config.tftpl
|
||||
|
||||
# create a prefix with IP you want to use on netbox, and set your vm variables
|
||||
nano variables.auto.tfvars
|
||||
```
|
||||
|
||||
You can add your playbook in the folder playbooks/ and use them in variables.auto.tfvars
|
||||
|
||||
then
|
||||
## Run
|
||||
|
||||
terraform init<br>
|
||||
terraform plan<br>
|
||||
```bash
|
||||
terraform init
|
||||
terraform plan
|
||||
terraform apply
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user