Fix pacman stdout parsing in the Ansible module (#65238)

pacman output is localized and the Ansible module is parsing its output.
So, we need to force the locale.
Add changelog fragment

Fixes #65237

(cherry picked from commit 10b6038e21)
pull/66383/head
Lénaïc Huard 5 years ago committed by Matt Clay
parent dd4e7950fc
commit 73238a5dc0

@ -0,0 +1,2 @@
bugfixes:
- pacman - Fix pacman output parsing on localized environment. (https://github.com/ansible/ansible/issues/65237)

@ -443,6 +443,7 @@ def main():
)
pacman_path = module.get_bin_path('pacman', True)
module.run_command_environ_update = dict(LC_ALL='C')
p = module.params

Loading…
Cancel
Save