mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Use text strings when using display() to avoid UnicodeError tracebacks
This commit is contained in:
@@ -789,7 +789,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
||||
# be sure to remove the BECOME-SUCCESS message now
|
||||
out = self._strip_success_message(out)
|
||||
|
||||
display.debug("_low_level_execute_command() done: rc=%d, stdout=%s, stderr=%s" % (rc, stdout, stderr))
|
||||
display.debug(u"_low_level_execute_command() done: rc=%d, stdout=%s, stderr=%s" % (rc, out, err))
|
||||
return dict(rc=rc, stdout=out, stdout_lines=out.splitlines(), stderr=err)
|
||||
|
||||
def _get_first_available_file(self, faf, of=None, searchdir='files'):
|
||||
|
||||
Reference in New Issue
Block a user