Document the encoding parameter for the replace module
Add encoding parameter for replace to changelog
This commit is contained in:
parent
49fe53266f
commit
6e473a432b
2 changed files with 7 additions and 0 deletions
|
@ -61,6 +61,7 @@ Ansible Changes By Release
|
||||||
Use ignore_errors or failed_when in playbooks if you wish to ignore errors.
|
Use ignore_errors or failed_when in playbooks if you wish to ignore errors.
|
||||||
* Experimentally added pmrun become method.
|
* Experimentally added pmrun become method.
|
||||||
* Enable the docker connection plugin to use su as a 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:
|
#### New Inventory scripts:
|
||||||
- lxd
|
- lxd
|
||||||
|
|
|
@ -96,6 +96,12 @@ options:
|
||||||
version_added: "1.9"
|
version_added: "1.9"
|
||||||
description:
|
description:
|
||||||
- 'This flag indicates that filesystem links, if they exist, should be followed.'
|
- '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:
|
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.
|
- As of Ansible 2.3, the I(dest) option has been changed to I(path) as default, but I(dest) still works as well.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue