From 9c038b210b6ce1edb29e1a0bef62524f567bd788 Mon Sep 17 00:00:00 2001 From: John Mahowald <14261342+jpmahowald@users.noreply.github.com> Date: Thu, 25 Apr 2019 17:16:53 -0500 Subject: [PATCH] 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. --- lib/ansible/plugins/lookup/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/lookup/template.py b/lib/ansible/plugins/lookup/template.py index a5b30b06261..6b00e8ebc8e 100644 --- a/lib/ansible/plugins/lookup/template.py +++ b/lib/ansible/plugins/lookup/template.py @@ -11,7 +11,7 @@ DOCUMENTATION = """ 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