Go to file
2022-04-25 14:00:39 +02: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 Initial commit 2022-04-25 13:50:01 +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 Update README 2022-04-25 14:00:39 +02:00
var.tf Initial commit 2022-04-25 13:50:01 +02:00
variables.auto.tfvars Initial commit 2022-04-25 13:50:01 +02:00

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

How to run:
cp passwd.auto.tfvars.example passwd.auto.tfvars
replace all variable to match your infrastructure

edit cloud_network_config.tftpl to replace eth0 (to be changed)

create a prefix with IP you want to use on netbox
edit variables.auto.tfvars

You can add your playbook in the folder playbooks/ and use them in variables.auto.tfvars

then

terraform init
terraform plan
terraform apply