Use pycrypto backend, rather than python-cryptography, on Ubuntu Precise
This commit is contained in:
parent
edaeb69a35
commit
e3192fb3a4
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ DEB_PYTHON2_MODULE_PACKAGES=ansible
|
|||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/class/python-distutils.mk
|
||||
|
||||
ifeq ($(shell lsb_release -cs), precise)
|
||||
export ANSIBLE_CRYPTO_BACKEND = pycrypto
|
||||
endif
|
||||
ifeq ($(shell lsb_release -cs), trusty)
|
||||
export ANSIBLE_CRYPTO_BACKEND = pycrypto
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue