ansible/test/integration/targets/setup_paramiko/install-FreeBSD-11-python-3.yml
Matt Clay aedc7301f6
[stable-2.10] Temporary fix for cryptography issues. (#73530). (#73533)
(cherry picked from commit 1a2da990a4)

Co-authored-by: Matt Clay <mclay@redhat.com>
2021-02-08 17:21:15 -06:00

12 lines
557 B
YAML

- name: Downgrade to pip version 18.1 to work around a PEP 517 virtualenv bug
# pip 19.0.0 added support for PEP 517
# versions as recent as 19.0.3 fail to install paramiko in a virtualenv due to a BackendUnavailable exception
# installation without a virtualenv succeeds
pip:
name: pip==18.1
- name: Setup remote constraints
include_tasks: setup-remote-constraints.yml
- name: Install Paramiko for Python 3 on FreeBSD 11
pip: # no py36-paramiko package exists for FreeBSD 11
name: paramiko
extra_args: "-c {{ remote_constraints }}"