1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix template lookup description (#55557)

Previously, template lookup description was documented  as "mostly a noop".
Now,  describe that it returns template content with substituted variables.
This commit is contained in:
John Mahowald 2019-04-25 17:16:53 -05:00 committed by Alicia Cozine
parent 1d49313dc4
commit 9c038b210b

View file

@ -11,7 +11,7 @@ DOCUMENTATION = """
version_added: "0.9" version_added: "0.9"
short_description: retrieve contents of file after templating with Jinja2 short_description: retrieve contents of file after templating with Jinja2
description: description:
- this is mostly a noop, to be used as a with_list loop when you do not want the content transformed in any way. - Returns a list of strings; for each template in the list of templates you pass in, returns a string containing the results of processing that template.
options: options:
_terms: _terms:
description: list of files to template description: list of files to template