Tsunami/README.md

33 lines
657 B
Markdown
Raw Normal View History

# Tsunami
2022-04-25 13:50:01 +02:00
**Netbox + XO + Terraform + Ansible = The best deployment kit**
## Configuration
[Install terraform](https://www.terraform.io/downloads)
replace your variables:
```bash
# copy password template
cp passwd.auto.tfvars.example passwd.auto.tfvars
# edit with your infra passwords
nano passwd.auto.tfvars
2022-04-25 13:50:01 +02:00
# set your template vm network interface
nano cloud_network_config.tftpl
2022-04-25 13:50:01 +02:00
# create a prefix with IP you want to use on netbox, and set your vm variables
nano variables.auto.tfvars
```
2022-04-25 13:50:01 +02:00
You can add your playbook in the folder playbooks/ and use them in variables.auto.tfvars
## Run
2022-04-25 13:50:01 +02:00
```bash
terraform init
terraform plan
2022-04-25 13:50:01 +02:00
terraform apply
```