From d4cd1fba8b6db455de2542862a180b9f0f396347 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 27 Dec 2013 15:01:27 -0500 Subject: [PATCH] add a note about raw/endraw --- library/files/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/files/template b/library/files/template index 41dfba08042..ccc6bafadc0 100644 --- a/library/files/template +++ b/library/files/template @@ -51,7 +51,7 @@ notes: - "Also, you can override jinja2 settings by adding a special header to template file. i.e. C(#jinja2:variable_start_string:'[%' , variable_end_string:'%]') - which changes the variable interpolation markers to [% var %] instead of {{ var }}." + which changes the variable interpolation markers to [% var %] instead of {{ var }}." This is the best way to prevent evaluation of things that look like, but should not be Jinja2. raw/endraw in Jinja2 will not work as you expect because templates in Ansible are recursively evaluated. requirements: [] author: Michael DeHaan