2022-04-25 13:50:01 +02:00
|
|
|
**Netbox + XO + Terraform + Ansible = The best deployment kit**
|
|
|
|
|
|
|
|
How to run:<br>
|
|
|
|
cp passwd.auto.tfvars.example passwd.auto.tfvars<br>
|
|
|
|
replace all variable to match your infrastructure
|
|
|
|
|
2022-04-25 14:00:39 +02:00
|
|
|
edit cloud_network_config.tftpl to replace eth0 (to be changed)
|
2022-04-25 13:50:01 +02:00
|
|
|
|
|
|
|
create a prefix with IP you want to use on netbox <br>
|
|
|
|
edit variables.auto.tfvars
|
|
|
|
|
|
|
|
You can add your playbook in the folder playbooks/ and use them in variables.auto.tfvars
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
terraform init<br>
|
|
|
|
terraform plan<br>
|
|
|
|
terraform apply
|