community.general/lib/ansible/modules/files
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
..
__init__.py
acl.py Add nomask option to the acl module (#39810) 2018-06-13 15:08:00 -04:00
archive.py archive: Add support for xz (#34110) 2018-01-22 07:33:07 -05:00
assemble.py Fix remote_tmp when become with non admin user (#42396) 2018-07-06 10:49:19 -07:00
blockinfile.py Fix remote_tmp when become with non admin user (#42396) 2018-07-06 10:49:19 -07:00
copy.py Fix #38745 - set user/group on temp file (#38748) 2018-05-23 15:45:43 -05:00
fetch.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
file.py file: Recover from unexpectedly disappearing files (#42281) 2018-07-09 11:27:25 +02:00
find.py also get checksum on 'any' if it is a file 2018-07-24 08:59:52 -04:00
ini_file.py doc: add name to tasks in ini_file module examples (#38888) 2018-05-30 02:02:48 +02:00
iso_extract.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lineinfile.py added description (#42187) 2018-07-02 10:10:27 -04:00
patch.py add state parameter to patch module (#33692) 2018-05-12 04:58:12 -04:00
replace.py Fix remote_tmp when become with non admin user (#42396) 2018-07-06 10:49:19 -07:00
stat.py change OS X to macOS (#41294) 2018-06-26 14:09:23 -04:00
synchronize.py Group logic detecting user, ensure rsync_opts is a list if omitted. Fixes #40483 2018-05-22 11:00:54 -04:00
tempfile.py tempfile: PEP8 compliancy, pylint and docs (#30859) 2017-10-30 00:51:19 +01:00
template.py Allow specifying the output encoding in the template module (#42171) 2018-07-25 13:10:40 -07:00
unarchive.py Port modules away from __file__ 2018-07-09 15:51:20 -07:00
xattr.py Adding namespace option into the xattr module (#42755) 2018-07-16 13:26:06 -04:00
xml.py Add option to control CDATA tags stripping (#42689) 2018-07-13 21:54:38 +02:00