Do not install PyOpenSSL from PyPi if cryptography cannot be updated - at least on FreeBSD 13.0, latest PyOpenSSL requires a cryptography upgrade, which breaks CI.

This commit is contained in:
Felix Fontein
2022-01-30 14:19:12 +01:00
parent 1e9831db9c
commit 16f9145653

View File

@@ -5,7 +5,7 @@
####################################################################
- name: Install from system packages
when: ansible_os_family != "Darwin" and target_system_python
when: ansible_os_family != "Darwin" and (target_system_python or target_system_python_cannot_upgrade_cryptography)
block:
- name: Include OS-specific variables
@@ -24,7 +24,7 @@
when: ansible_python_version is version('3.0', '<')
- name: Install from PyPi
when: ansible_os_family == "Darwin" or not target_system_python
when: ansible_os_family == "Darwin" or not (target_system_python or target_system_python_cannot_upgrade_cryptography)
block:
- name: Install pyOpenSSL (PyPi)