mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-22 09:53:32 +02:00
Add encoding option to API modules (#95)
* Set encoding to UTF-8. * Add encoding parameter to API modules. * librouteros is now patched.
This commit is contained in:
parent
7452195071
commit
023f11f7e1
5 changed files with 42 additions and 33 deletions
|
@ -63,6 +63,13 @@ options:
|
|||
- See also I(validate_cert_hostname). Only used when I(tls=true) and I(validate_certs=true).
|
||||
type: path
|
||||
version_added: 1.2.0
|
||||
encoding:
|
||||
description:
|
||||
- Use the specified encoding when communicating with the RouterOS device.
|
||||
- Default is C(ASCII). Note that C(UTF-8) requires librouteros 3.2.1 or newer.
|
||||
type: str
|
||||
default: ASCII
|
||||
version_added: 2.1.0
|
||||
requirements:
|
||||
- librouteros
|
||||
- Python >= 3.6 (for librouteros)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue