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
2018-07-25 13:10:40 -07:00
..
bar
café.j2
encoding_1252.j2 Allow specifying the output encoding in the template module (#42171) 2018-07-25 13:10:40 -07:00
foo.j2
foo2.j2
foo3.j2
for_loop.j2
for_loop_include.j2
for_loop_include_nested.j2
import_as.j2
import_as_with_context.j2
import_with_context.j2
lstrip_blocks.j2
parent.j2
qux
short.j2
subtemplate.j2
trim_blocks.j2