mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* Fix lang issue on zypper absent
* Add fragment changelog
* Update changelogs/fragments/1175-zypper-absent-lang.yml
Some outfit
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 4842f67da1
)
Co-authored-by: Laurent G <xenlaurent@hotmail.com>
This commit is contained in:
parent
d74680a3c6
commit
5d0a0d27e5
2 changed files with 4 additions and 0 deletions
2
changelogs/fragments/1175-zypper-absent-lang.yml
Normal file
2
changelogs/fragments/1175-zypper-absent-lang.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- zypper - force ``LANG=C`` to as zypper is looking in XML output where attribute could be translated (https://github.com/ansible-collections/community.general/issues/1175).
|
|
@ -515,6 +515,8 @@ def main():
|
|||
supports_check_mode=True
|
||||
)
|
||||
|
||||
module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C')
|
||||
|
||||
name = module.params['name']
|
||||
state = module.params['state']
|
||||
update_cache = module.params['update_cache']
|
||||
|
|
Loading…
Reference in a new issue