mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix uri test on Python 2.6.
This commit is contained in:
parent
00abe6dbe7
commit
1fd9a616a4
2 changed files with 2 additions and 0 deletions
1
test/integration/targets/uri/files/constraints.txt
Normal file
1
test/integration/targets/uri/files/constraints.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
cryptography < 2.2 ; python_version < "2.7" # cryptography 2.2+ requires python 2.7+
|
|
@ -285,6 +285,7 @@
|
||||||
pip:
|
pip:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: latest
|
state: latest
|
||||||
|
extra_args: "-c {{ role_path }}/files/constraints.txt"
|
||||||
with_items:
|
with_items:
|
||||||
- urllib3
|
- urllib3
|
||||||
- PyOpenSSL
|
- PyOpenSSL
|
||||||
|
|
Loading…
Reference in a new issue