Bruno Dupuis
2013-09-30 10:29:06 UTC
Hi,
Is there a practical way to use a remote file as a jinja template in
template modules ?
Let's explain my use case:
My application code requires configuration that may vary depending on the
environment (dev/staging/prot)
I want to keep configuration defintion into application code, as j2
template, because it's easier to maintain.
Those templates are deployed on the target machines along with the app, and
then ansible creates final configuration files, using host/group variables.
Regards.
--
Is there a practical way to use a remote file as a jinja template in
template modules ?
Let's explain my use case:
My application code requires configuration that may vary depending on the
environment (dev/staging/prot)
I want to keep configuration defintion into application code, as j2
template, because it's easier to maintain.
Those templates are deployed on the target machines along with the app, and
then ansible creates final configuration files, using host/group variables.
Regards.
--