mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-06 13:22:58 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user