Go to file
GnomeZworc 49eed52131 issue-1: concatenate and remove default vars
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2022-12-09 16:36:25 +01: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 condition to execut playbook 2022-07-01 19:31:17 +02:00
passwd.auto.tfvars.example issue-1: concatenate and remove default vars 2022-12-09 16:36:25 +01:00
providers.tf Initial commit 2022-04-25 13:50:01 +02:00
README.md Add terraform installation link 2022-07-01 19:24:22 +02:00
var.tf issue-1: concatenate and remove default vars 2022-12-09 16:36:25 +01:00
variables.auto.tfvars Initial commit 2022-04-25 13:50:01 +02:00

Tsunami

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

Configuration

Install terraform

replace your variables:

# copy password template
cp passwd.auto.tfvars.example passwd.auto.tfvars

# edit with your infra passwords
nano passwd.auto.tfvars

# set your template vm network interface
nano cloud_network_config.tftpl

# create a prefix with IP you want to use on netbox, and set your vm variables
nano variables.auto.tfvars

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

Run

terraform init
terraform plan
terraform apply