Go to file
GnomeZworc 268a346a19
add the option to add tags at deployement
I made this things a vars

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2022-07-01 18:48:48 +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 add the option to add tags at deployement 2022-07-01 18:48:48 +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 add the option to add tags at deployement 2022-07-01 18:48:48 +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