549 B
549 B
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_config.tftpl to add your ssh key
edit cloud_network_config.tftpl to replace eth0 and your gateway (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