summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2021-09-22 23:48:25 -0700
committerMatt Clay <matt@mystile.com>2021-09-23 00:14:43 -0700
commit78ff1ab54631d0d18c6902b08f0167accdd7bdab (patch)
tree0eb065674f157ed1cea0ff3643b43fb14ddc0e8a /test/integration
parent46c7b24188d83d9e8e7c1e1d36f17454e22331b8 (diff)
downloadansible-78ff1ab54631d0d18c6902b08f0167accdd7bdab.tar.gz
Add constraints to prepare_http_tests target.
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/targets/prepare_http_tests/tasks/kerberos.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/integration/targets/prepare_http_tests/tasks/kerberos.yml b/test/integration/targets/prepare_http_tests/tasks/kerberos.yml
index 06feea1c37..2678b4688a 100644
--- a/test/integration/targets/prepare_http_tests/tasks/kerberos.yml
+++ b/test/integration/targets/prepare_http_tests/tasks/kerberos.yml
@@ -38,7 +38,9 @@
- name: Install python gssapi
pip:
name:
- - gssapi
+ - decorator < 5.0.0 ; python_version < '3.5' # decorator 5.0.5 and later require python 3.5 or later
+ - gssapi < 1.6.0 ; python_version <= '2.7' # gssapi 1.6.0 and later require python 3 or later
+ - gssapi ; python_version > '2.7'
- importlib ; python_version < '2.7'
state: present
extra_args: '-c {{ remote_constraints }}'