Fix CI (1/2) (#284)

* New default docker image no longer contains bcrypt.

* Install cryptography for ACME tests.

* Add constraints.
pull/285/head
Felix Fontein 2021-09-23 21:56:03 +02:00 committed by GitHub
parent 56b2130c6e
commit 0fdede5d7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,4 @@
dependencies:
# - setup_openssl
- setup_remote_constraints
- setup_remote_tmp_dir

View File

@ -9,6 +9,11 @@
set_fact:
openssl_binary: openssl
- name: Make sure cryptography is installed
pip:
name: cryptography
extra_args: "-c {{ remote_constraints }}"
- name: Register openssl version
shell: "{{ openssl_binary }} version | cut -d' ' -f2"
register: openssl_version

View File

@ -1,6 +1,7 @@
cryptography
ipaddress ; python_version < '3.0'
pyopenssl
bcrypt
unittest2 ; python_version < '2.7'
importlib ; python_version < '2.7'