summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/jinja2_overrides.tpl10
1 files changed, 10 insertions, 0 deletions
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 }}
+