The gen_tfvars
ansible role is used to let us generate the terraform
variables we need for cloud environments.
The default kdevops_terraform_tfvars
path is terraform/terraform.tfvars
.
So we generate the terraform/terraform.tfvars
using jinja2 template, and
each cloud provider can define its own other variables.
The gen_tfvars
ansible has a dependency on the
gen_nodes ansible role as well
to generate the terraform variable kdevops_nodes
. See the docs:
It should be possible to automatically generate Kconfig variables for cloud providers based on input from a real tool from a cloud provider. This should be able to leverage the dynamic kconfig nature of kdevops.