diff --git a/test/integration/targets/uri/files/constraints.txt b/test/integration/targets/uri/files/constraints.txt new file mode 100644 index 00000000000..309ba28c5c6 --- /dev/null +++ b/test/integration/targets/uri/files/constraints.txt @@ -0,0 +1 @@ +cryptography < 2.2 ; python_version < "2.7" # cryptography 2.2+ requires python 2.7+ diff --git a/test/integration/targets/uri/tasks/main.yml b/test/integration/targets/uri/tasks/main.yml index 7f0afe8e53b..730c9c97eb8 100644 --- a/test/integration/targets/uri/tasks/main.yml +++ b/test/integration/targets/uri/tasks/main.yml @@ -285,6 +285,7 @@ pip: name: "{{ item }}" state: latest + extra_args: "-c {{ role_path }}/files/constraints.txt" with_items: - urllib3 - PyOpenSSL