From cf01068f53c86ffc40f3fd358312e24b3ad3e09a Mon Sep 17 00:00:00 2001 From: Graham Mainwaring Date: Wed, 12 Jul 2017 10:46:26 -0400 Subject: [PATCH] Use pycrypto backend, rather than python-cryptography, on Ubuntu Trusty --- packaging/debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packaging/debian/rules b/packaging/debian/rules index f5894b7a43b..b48c433c339 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 +