From 7c08f10900265bafad5677536aa4204fe20b1b14 Mon Sep 17 00:00:00 2001 From: Jan Fader Date: Sun, 29 May 2016 15:52:18 +0200 Subject: [PATCH] fix for #3706 (#3778) --- files/unarchive.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/unarchive.py b/files/unarchive.py index 2c495abc60b..6492af60633 100644 --- a/files/unarchive.py +++ b/files/unarchive.py @@ -701,6 +701,9 @@ def main(): # supports_check_mode = True, ) + # We screenscrape a huge amount of commands so use C locale anytime we do + module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C') + src = os.path.expanduser(module.params['src']) dest = os.path.expanduser(module.params['dest']) copy = module.params['copy']