1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/template
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
..
files Allow specifying the output encoding in the template module (#42171) 2018-07-25 13:10:40 -07:00
meta
tasks Allow specifying the output encoding in the template module (#42171) 2018-07-25 13:10:40 -07:00
templates Allow specifying the output encoding in the template module (#42171) 2018-07-25 13:10:40 -07:00
vars
aliases Update Shippable integration test groups. (#43118) 2018-07-23 20:46:22 -07:00
ansible_managed.cfg Fix when template paths contain non-ascii chars and using the path in ansible_managed 2018-04-30 16:47:27 -07:00
ansible_managed.yml Fix when template paths contain non-ascii chars and using the path in ansible_managed 2018-04-30 16:47:27 -07:00
runme.sh Fix when template paths contain non-ascii chars and using the path in ansible_managed 2018-04-30 16:47:27 -07:00
template.yml Check that AnsibleUndefinedVariable doesn't occur when an unused variable references an undefined variable (#35571) 2018-02-02 09:25:13 -08:00