file.recurse: use different renderers in individual files #65335
-
I have a directory on my saltmaster containing multiple files that need to be added to the target host. Some of which should be copied as-is, but others should be rendered using The way I currently solve this is:
In the hopes of a cleaner solution, I tried adding Is there any way to define within the file itself how the I could alternatively use different subdirectories for each type of file (as-is, jinja, etc.) but this feels like I'm just creating different workarounds. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You could render all files as jinja, but in the files not to be templated, enclose everything in
if there's jinja-like markup in there. |
Beta Was this translation helpful? Give feedback.
You could render all files as jinja, but in the files not to be templated, enclose everything in
if there's jinja-like markup in there.