mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
added test for template overrides Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
10
test/jinja2_overrides.tpl
Normal file
10
test/jinja2_overrides.tpl
Normal file
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user