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
This commit is contained in:
parent
3caadca3f4
commit
10b6038e21
2 changed files with 3 additions and 0 deletions
2
changelogs/fragments/65238-fix_pacman_stdout_parsing.yml
Normal file
2
changelogs/fragments/65238-fix_pacman_stdout_parsing.yml
Normal file
|
@ -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…
Reference in a new issue