1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Document the encoding parameter for the replace module

Add encoding parameter for replace to changelog
This commit is contained in:
Toshio Kuratomi 2017-06-05 19:37:53 -07:00
parent 49fe53266f
commit 6e473a432b
2 changed files with 7 additions and 0 deletions

View file

@ -61,6 +61,7 @@ Ansible Changes By Release
Use ignore_errors or failed_when in playbooks if you wish to ignore errors.
* Experimentally added pmrun become method.
* Enable the docker connection plugin to use su as a become method
* Add an encoding parameter for the replace module so that it can operate on non-utf-8 files
#### New Inventory scripts:
- lxd

View file

@ -96,6 +96,12 @@ options:
version_added: "1.9"
description:
- 'This flag indicates that filesystem links, if they exist, should be followed.'
encoding:
required: false
default: "utf-8"
version_added: "2.4"
description:
- "The character encoding for reading and writing the file."
notes:
- As of Ansible 2.3, the I(dest) option has been changed to I(path) as default, but I(dest) still works as well.
"""