redhat-cop / openshift-applier

Used to apply OpenShift objects to an OpenShift Cluster
Apache License 2.0
102 stars 61 forks source link

Allow passing vars to jinja templates #160

Closed pabrahamsson closed 4 years ago

pabrahamsson commented 4 years ago

Variables used in jinja templates are typically defined as group_vars. This becomes a problem when you want to use the same jinja template more than once in your inventory. Ideally we should be able to pass variables to a jinja template in similar way to how we can pass variables to pre/post steps.