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
pull/66276/head
Lénaïc Huard 5 years ago committed by Abhijeet Kasurde
parent 3caadca3f4
commit 10b6038e21

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

@ -433,6 +433,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