Skip to content

Commit

Permalink
added test for template overrides Signed-off-by: Brian Coca <briancoc…
Browse files Browse the repository at this point in the history
[email protected]>

Signed-off-by: Brian Coca <[email protected]>
  • Loading branch information
bcoca committed Nov 26, 2012
1 parent 68f5d69 commit d751d88
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/jinja2_overrides.tpl
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit d751d88

Please sign in to comment.