mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
68f5d69365
commit
d751d88b48
1 changed files with 10 additions and 0 deletions
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 }}
|
||||
|
Loading…
Reference in a new issue