summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2022-02-16 10:55:56 -0600
committerGitHub <noreply@github.com>2022-02-16 10:55:56 -0600
commitcd0ebed8756ca533bb15ea6587f60831f764cc0a (patch)
tree9d0185a949f489267424df7433ec9f7d40b714bd /changelogs
parent317ff44f6d337b22b93cff984d135b286dcce146 (diff)
downloadansible-cd0ebed8756ca533bb15ea6587f60831f764cc0a.tar.gz
[stable-2.12] unarchive: fix non-english locales (#76542) (#76933)
* unarchive: fix non-english locales For GNU Gettext, the LANGUAGE environment variable takes precedence over LANG or LC_ALL. On systems where LANGUAGE was set to a non-english locale, the output of the tar command therefore not understood and the module failed silently ("changed": false, but the archive was not extracted). * add tests * changelog (cherry picked from commit 49e1cb9) Co-authored-by: Jonathan Neuhauser <jonathan.hofinger@gmx.de> Co-authored-by: Jonathan Neuhauser <jonathan.hofinger@gmx.de>
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/76542-fix-unarchive-on-nenglish-locales.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/76542-fix-unarchive-on-nenglish-locales.yml b/changelogs/fragments/76542-fix-unarchive-on-nenglish-locales.yml
new file mode 100644
index 0000000000..8ce73d6263
--- /dev/null
+++ b/changelogs/fragments/76542-fix-unarchive-on-nenglish-locales.yml
@@ -0,0 +1,2 @@
+bugfixes:
+- unarchive - Make extraction work when the LANGUAGE environment variable is set to a non-English locale. \ No newline at end of file