When Zabbix template is saved using state=dump of module zabbix_template, all non-ASCII strings become encoded like this: "\u0422\u0435\u0441\u0442"(this is Russian string "Тест"). On importing this template using state=present, trigger name presented by this string becomes "\u0422\u0435\u0441\u0442" instead of "Тест".
From @selivan on 17 Apr 2019
SUMMARY
When Zabbix template is saved using
state=dump
of module zabbix_template, all non-ASCII strings become encoded like this:"\u0422\u0435\u0441\u0442"
(this is Russian string "Тест"). On importing this template usingstate=present
, trigger name presented by this string becomes"\u0422\u0435\u0441\u0442"
instead of "Тест".ISSUE TYPE
COMPONENT NAME
zabbix_template
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
OS: Ubuntu 16.04 Xenial Zabbix Server: 4.0
STEPS TO REPRODUCE
EXPECTED RESULTS
Non-ASCII characters in template, like trigger names, should be restored correctly.
ACTUAL RESULTS
Non-ASCII characters in template, like trigger names, are restored in this form: \u0422\u0435\u0441\u0442"/
Copied from original issue: https://github.com/ansible/ansible/issues/55439