Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

How to change default tags? #64

Open
ThierryBesancon opened this issue Aug 18, 2020 · 0 comments
Open

How to change default tags? #64

ThierryBesancon opened this issue Aug 18, 2020 · 0 comments

Comments

@ThierryBesancon
Copy link

Hello

Using J2CLI and a template file, i would like to generate a JINJA2 template as an output. So i need the first template to use JINJA tags that are not the default ones so that i can output strings like {{ somevar }}. For example i could use tags with outer { replaced by [ ([{, [%, etc.).

(I come from the PERL universe with Template2. I can change the tags when using Template2.)

If someone knows how to do that in ansible, that's better (i mean use a ansible playbook that takes a template to output an ansible template file - yes, it is something like dynamically creating templates).

Thanks in advance for any advice.

Thierry

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant