From 488ef22f5e232f2a2cd33aecfc93343fa399cddd Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 26 Dec 2013 12:01:41 -0500 Subject: [PATCH] added more usefull example for jinja2 overrides (this one is actually used) Signed-off-by: Brian Coca --- library/files/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/library/files/template b/library/files/template index 35ac831e181..41dfba08042 100644 --- a/library/files/template +++ b/library/files/template @@ -48,8 +48,11 @@ options: required: false notes: - Since Ansible version 0.9, templates are loaded with C(trim_blocks=True). - - 'You can override jinja2 settings by adding a special header to template file. - i.e. C(#jinja2: trim_blocks: False)' + + - "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 }}." + requirements: [] author: Michael DeHaan '''