summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorJames Pharaoh <james@phsys.co.uk>2014-09-18 20:56:10 +0200
committerJames Pharaoh <james@phsys.co.uk>2014-09-18 20:56:21 +0200
commit98a1fd681eeb593052fbd84d4b76780b5288fd0b (patch)
tree3ac8dffc65feb1cb802c7da148d50a2976a7f151 /library
parentMerge pull request #9058 from mpeters/docsite_more_test_modules (diff)
downloadansible-98a1fd681eeb593052fbd84d4b76780b5288fd0b.tar.xz
ansible-98a1fd681eeb593052fbd84d4b76780b5288fd0b.zip
add LANG=C to apt module so the string matches on the output always match
Diffstat (limited to 'library')
-rwxr-xr-xlibrary/packaging/apt3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/packaging/apt b/library/packaging/apt
index b4b3f078a8..e5a38e538d 100755
--- a/library/packaging/apt
+++ b/library/packaging/apt
@@ -148,7 +148,8 @@ import fnmatch
# APT related constants
APT_ENV_VARS = dict(
DEBIAN_FRONTEND = 'noninteractive',
- DEBIAN_PRIORITY = 'critical'
+ DEBIAN_PRIORITY = 'critical',
+ LANG = 'C'
)
DPKG_OPTIONS = 'force-confdef,force-confold'