mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Revert "Set Jinja2's keep_trailing_newline=True in template_from_string."
This reverts commit 7a8eb0b670.
This commit is contained in:
@@ -63,10 +63,4 @@
|
||||
assert:
|
||||
that:
|
||||
- "file_result.changed != True"
|
||||
|
||||
# VERIFY STRING TEMPLATE PRESERVES NEWLINE
|
||||
|
||||
- name: ensure template strings preserve newline
|
||||
assert:
|
||||
that:
|
||||
- "newline_no_template_string == newline_template_string"
|
||||
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
templated_var: templated_var_loaded
|
||||
newline_template_string: "Hello {{ 'World' }}\n"
|
||||
newline_no_template_string: "Hello World\n"
|
||||
|
||||
Reference in New Issue
Block a user