mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
19dc267e4c
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
5 lines
No EOL
192 B
YAML
5 lines
No EOL
192 B
YAML
---
|
|
minor_changes:
|
|
- Explicit encoding for the output of the template module, to be able
|
|
to generate non-utf8 files from a utf-8 template.
|
|
(https://github.com/ansible/proposals/issues/121) |