1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

apk: fix LANG != C while parsing stdout (#2689)

This commit is contained in:
René Moser 2016-08-07 21:44:07 +02:00 committed by Matt Clay
parent cf87e1d9b2
commit a4427d55c3

View file

@ -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)