diff options
author | René Moser <mail@renemoser.net> | 2016-08-07 21:44:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-07 21:44:07 +0200 |
commit | 8fae447ee831b0a088e8cb2dfcbb029331f7ae7b (patch) | |
tree | b30768991d241a5f7e988bb78050fe8218baf0a4 /packaging | |
parent | f366f5a94319d209e166fc4e1d3879dcae495188 (diff) | |
download | ansible-modules-extras-8fae447ee831b0a088e8cb2dfcbb029331f7ae7b.tar.gz |
apk: fix LANG != C while parsing stdout (#2689)
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/os/apk.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/os/apk.py b/packaging/os/apk.py index 120fc981..c867d116 100644 --- a/packaging/os/apk.py +++ b/packaging/os/apk.py @@ -212,6 +212,9 @@ def main(): supports_check_mode = True ) + # Set LANG env since we parse stdout + module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C') + global APK_PATH APK_PATH = module.get_bin_path('apk', required=True) |