From d751d88b48f6f6886175bab1d1bae1653da3c900 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 19 Nov 2012 09:44:54 -0500 Subject: [PATCH] added test for template overrides Signed-off-by: Brian Coca Signed-off-by: Brian Coca --- test/jinja2_overrides.tpl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/jinja2_overrides.tpl diff --git a/test/jinja2_overrides.tpl b/test/jinja2_overrides.tpl new file mode 100644 index 0000000000..4d7a55c04a --- /dev/null +++ b/test/jinja2_overrides.tpl @@ -0,0 +1,10 @@ +#env: variable_end_string: @@, variable_start_string: @@ + +{% raw %} + if this succeeds you should see '{{ ansible_hostname }}' with the hostname on the line above + if this fails you should see '@@ ansible_hostname @@' with the hostname on the line beneath +{% endraw %} + +@@ ansible_hostname @@ +{{ ansible_hostname }} +