|
||
---|---|---|
playbooks | ||
cloud_config.tftpl | ||
cloud_network_config.tftpl | ||
LICENSE | ||
main.tf | ||
passwd.auto.tfvars.example | ||
providers.tf | ||
README.md | ||
var.tf | ||
variables.auto.tfvars |
Tsunami
Netbox + XO + Terraform + Ansible = The best deployment kit
Configuration
replace your variables:
# copy password template
cp passwd.auto.tfvars.example passwd.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
Run
terraform init
terraform plan
terraform apply