Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
zabbix_template error
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: UnicodeEncodeError: 'ascii' codec can't encode characters in position 57566-57569: ordinal not in range(128)
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):
File \"/root/.ansible/tmp/ansible-tmp-1563092412.49-239477708342027/AnsiballZ_zabbix_template.py\", line 125, in <module>
_ansiballz_main()
File \"/root/.ansible/tmp/ansible-tmp-1563092412.49-239477708342027/AnsiballZ_zabbix_template.py\", line 117, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File \"/root/.ansible/tmp/ansible-tmp-1563092412.49-239477708342027/AnsiballZ_zabbix_template.py\", line 54, in invoke_module
imp.load_module('__main__', mod, module, MOD_DESC)
File \"/tmp/ansible_zabbix_template_payload_StS_pq/__main__.py\", line 742, in <module>
File \"/tmp/ansible_zabbix_template_payload_StS_pq/__main__.py\", line 689, in main
File \"/tmp/ansible_zabbix_template_payload_StS_pq/__main__.py\", line 458, in dump_template
File \"/usr/lib/python2.7/xml/dom/minidom.py\", line 1928, in parseString
return expatbuilder.parseString(string)
File \"/usr/lib/python2.7/xml/dom/expatbuilder.py\", line 940, in parseString
return builder.parseString(string)
File \"/usr/lib/python2.7/xml/dom/expatbuilder.py\", line 223, in parseString
parser.Parse(string, True)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 57566-57569: ordinal not in range(128)
", "module_stdout": "", "msg": "MODULE FAILURE
See stdout/stderr for the exact error", "rc": 1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.