Go to file
Ataxya db27c24ddd Merge branch 'fix_tags' into 'main'
remove tags from deployement

See merge request ataxya/tsunami!2
2022-07-04 22:34:31 +00:00
playbooks Initial commit 2022-04-25 13:50:01 +02:00
cloud_config.tftpl Initial commit 2022-04-25 13:50:01 +02:00
cloud_network_config.tftpl Initial commit 2022-04-25 13:50:01 +02:00
LICENSE Initial commit 2022-04-25 13:50:01 +02:00
main.tf add condition to execut playbook 2022-07-01 19:31:17 +02:00
passwd.auto.tfvars.example Initial commit 2022-04-25 13:50:01 +02:00
providers.tf Initial commit 2022-04-25 13:50:01 +02:00
README.md Add terraform installation link 2022-07-01 19:24:22 +02:00
var.tf add condition to execut playbook 2022-07-01 19:31:17 +02:00
variables.auto.tfvars Initial commit 2022-04-25 13:50:01 +02:00

Tsunami

Netbox + XO + Terraform + Ansible = The best deployment kit

Configuration

Install terraform

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