summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorGraham Mainwaring <gmainwar@redhat.com>2017-07-12 10:46:26 -0400
committerToshio Kuratomi <a.badger@gmail.com>2017-07-12 08:53:21 -0700
commitcf01068f53c86ffc40f3fd358312e24b3ad3e09a (patch)
tree3c7416fe6f33b6f0d66af661668fde25fefbf4da /packaging
parente14e37ee1e28e944d3d38ad0e93ad85ff805bcc0 (diff)
downloadansible-cf01068f53c86ffc40f3fd358312e24b3ad3e09a.tar.gz
Use pycrypto backend, rather than python-cryptography, on Ubuntu Trusty
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/debian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/debian/rules b/packaging/debian/rules
index f5894b7a43..b48c433c33 100755
--- a/packaging/debian/rules
+++ b/packaging/debian/rules
@@ -5,3 +5,8 @@ DEB_PYTHON2_MODULE_PACKAGES=ansible
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
+
+ifeq ($(DEB_DIST), trusty)
+ export ANSIBLE_CRYPTO_BACKEND = pycrypto
+endif
+