Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Fixing fail with unicode chars in incoming data #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions callback_plugins/grafana_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
from ansible.module_utils.urls import open_url
from ansible.plugins.callback import CallbackBase

import sys
reload(sys)
sys.setdefaultencoding('UTF8')

DOCUMENTATION = """
callback: grafana_annotations
Expand Down