From 89bf14e4675f8f48cfa5657c17096df56867a989 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 27 Feb 2017 09:40:58 -0800 Subject: [PATCH] Change warning message as advised by bcoca --- lib/ansible/executor/task_executor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/executor/task_executor.py b/lib/ansible/executor/task_executor.py index f53ab14fc6..ce65ea8497 100644 --- a/lib/ansible/executor/task_executor.py +++ b/lib/ansible/executor/task_executor.py @@ -142,7 +142,8 @@ class TaskExecutor: if k == 'diff': # If this is a diff, substitute a replacement character if the value # is undecodable as utf8. (Fix #21804) - display.warning("We were unable to decode all characters, replaced some in an effort to return as much as possible") + display.warning("We were unable to decode all characters in the module return data." + " Replaced some in an effort to return as much as possible") res[k] = _clean_res(res[k], errors='surrogate_then_replace') else: raise