1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Use pycrypto backend, rather than python-cryptography, on Ubuntu Precise

This commit is contained in:
Grant Slater 2018-02-19 11:24:53 +00:00 committed by Toshio Kuratomi
parent edaeb69a35
commit e3192fb3a4

View file

@ -6,6 +6,9 @@ DEB_PYTHON2_MODULE_PACKAGES=ansible
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.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) ifeq ($(shell lsb_release -cs), trusty)
export ANSIBLE_CRYPTO_BACKEND = pycrypto export ANSIBLE_CRYPTO_BACKEND = pycrypto
endif endif