From 2b02e43614dfd92dfcd8e7c49d9648d19a4f257b Mon Sep 17 00:00:00 2001 From: Will Thames Date: Fri, 2 Nov 2018 11:44:23 +1000 Subject: [PATCH] Document template plugin's convert_data option This is a useful option that I can never remember the name of --- lib/ansible/plugins/lookup/template.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ansible/plugins/lookup/template.py b/lib/ansible/plugins/lookup/template.py index bdbfcf338a5..7a25a5be189 100644 --- a/lib/ansible/plugins/lookup/template.py +++ b/lib/ansible/plugins/lookup/template.py @@ -17,6 +17,9 @@ DOCUMENTATION = """ options: _terms: description: list of files to template + convert_data: + type: bool + description: whether to convert YAML into data. If False, strings that are YAML will be left untouched. """ EXAMPLES = """