summaryrefslogtreecommitdiff
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
parent91ca8d42e77e5d4305145cbf5ccba711cf43cd41 (diff)
downloadansible-98a1fd681eeb593052fbd84d4b76780b5288fd0b.tar.gz
add LANG=C to apt module so the string matches on the output always match
-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'