mirror of https://github.com/ansible/ansible.git
Temporary fix for cryptography issues. (#73530)
parent
aca5b0e43b
commit
1a2da990a4
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Temporarily limit ``cryptography`` to versions before 3.4 to enable tests to function.
|
||||
@ -0,0 +1 @@
|
||||
needs/target/setup_remote_tmp_dir
|
||||
@ -0,0 +1 @@
|
||||
cryptography >= 2.5, < 3.4
|
||||
@ -1,6 +1,9 @@
|
||||
- name: Setup remote constraints
|
||||
include_tasks: setup-remote-constraints.yml
|
||||
- name: Install Paramiko for Python 3 on Alpine
|
||||
pip: # no apk package manager in core, just use pip
|
||||
name: paramiko
|
||||
extra_args: "-c {{ remote_constraints }}"
|
||||
environment:
|
||||
# Not sure why this fixes the test, but it does.
|
||||
SETUPTOOLS_USE_DISTUTILS: stdlib
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
- name: Setup remote constraints
|
||||
include_tasks: setup-remote-constraints.yml
|
||||
- name: Install Paramiko for Python 3 on MacOS
|
||||
pip: # no homebrew package manager in core, just use pip
|
||||
name: paramiko
|
||||
extra_args: "-c {{ remote_constraints }}"
|
||||
environment:
|
||||
# Not sure why this fixes the test, but it does.
|
||||
SETUPTOOLS_USE_DISTUTILS: stdlib
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
- name: Setup remote constraints
|
||||
include_tasks: setup-remote-constraints.yml
|
||||
- name: Install Paramiko for Python 3 on RHEL 8
|
||||
pip: # no python3-paramiko package exists for RHEL 8
|
||||
name: paramiko
|
||||
extra_args: "-c {{ remote_constraints }}"
|
||||
|
||||
@ -0,0 +1,12 @@
|
||||
- name: Setup remote temporary directory
|
||||
include_role:
|
||||
name: setup_remote_tmp_dir
|
||||
|
||||
- name: Record constraints.txt path on remote host
|
||||
set_fact:
|
||||
remote_constraints: "{{ remote_tmp_dir }}/constraints.txt"
|
||||
|
||||
- name: Copy constraints.txt to remote host
|
||||
copy:
|
||||
src: "constraints.txt"
|
||||
dest: "{{ remote_constraints }}"
|
||||
Loading…
Reference in New Issue