You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/template/templates
Julien Champseix 19dc267e4c Allow specifying the output encoding in the template module (#42171)
Allow specifying the source and destination files' encodings in the template module

* Added output_encoding to the template module, default to utf-8
* Added documentation for the new variables
* Leveraged the encoding argument on to_text() and to_bytes() to keep the implementation as simple as possible
* Added integration tests with files in utf-8 and windows-1252 encodings, testing all combinations
* fix bad smell test by excluding windows-1252 files from the utf8 checks
* fix bad smell test by excluding valid files from the smart quote test
6 years ago
..
bar template: fix KeyError: 'undefined variable: 0 (#27972) 7 years ago
café.j2 Add tests for template with non-ascii filenames 7 years ago
encoding_1252.j2 Allow specifying the output encoding in the template module (#42171) 6 years ago
foo.j2
foo2.j2 Windows: Use the correct newline sequence for the platform (#21846) 8 years ago
foo3.j2 Windows: Use the correct newline sequence for the platform (#21846) 8 years ago
for_loop.j2 Fix jinja2>=2.9 nested include vars (#35099) 7 years ago
for_loop_include.j2 Fix jinja2>=2.9 nested include vars (#35099) 7 years ago
for_loop_include_nested.j2 Fix jinja2>=2.9 nested include vars (#35099) 7 years ago
import_as.j2 template: fix KeyError: 'undefined variable: 0 (#27972) 7 years ago
import_as_with_context.j2 template: fix KeyError: 'undefined variable: 0 (#27972) 7 years ago
import_with_context.j2 template: fix KeyError: 'undefined variable: 0 (#27972) 7 years ago
lstrip_blocks.j2 template: Add option to `lstrip_blocks' and fix setting`trim_blocks` inline (#37478) 7 years ago
parent.j2
qux template: fix KeyError: 'undefined variable: 0 (#27972) 7 years ago
short.j2
subtemplate.j2
trim_blocks.j2 template: Add option to `lstrip_blocks' and fix setting`trim_blocks` inline (#37478) 7 years ago