Skip to content

Commit

Permalink
Fix template lookup description (ansible#55557)
Browse files Browse the repository at this point in the history
Previously, template lookup description was documented  as "mostly a noop".
Now,  describe that it returns template content with substituted variables.
  • Loading branch information
jpmahowald authored and acozine committed Apr 25, 2019
1 parent 1d49313 commit 9c038b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/plugins/lookup/template.py
Expand Up @@ -11,7 +11,7 @@
version_added: "0.9"
short_description: retrieve contents of file after templating with Jinja2
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:
_terms:
description: list of files to template
Expand Down

0 comments on commit 9c038b2

Please sign in to comment.