GnomeZworc
268a346a19
I made this things a vars Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr> |
||
---|---|---|
playbooks | ||
cloud_config.tftpl | ||
cloud_network_config.tftpl | ||
LICENSE | ||
main.tf | ||
passwd.auto.tfvars.example | ||
providers.tf | ||
README.md | ||
var.tf | ||
variables.auto.tfvars |
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