1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Restrict Python packages for nomad tests. (#5262) (#5265)

(cherry picked from commit dde0b55f1a)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-09-10 11:18:43 +02:00 committed by GitHub
parent ae3fe51929
commit 21ad7c8bfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -7,3 +7,4 @@ dependencies:
- setup_pkg_mgr - setup_pkg_mgr
- setup_openssl - setup_openssl
- setup_remote_tmp_dir - setup_remote_tmp_dir
- setup_remote_constraints

View file

@ -20,6 +20,7 @@
- name: Install requests<2.20 (CentOS/RHEL 6) - name: Install requests<2.20 (CentOS/RHEL 6)
pip: pip:
name: requests<2.20 name: requests<2.20
extra_args: "-c {{ remote_constraints }}"
register: result register: result
until: result is success until: result is success
when: ansible_distribution_file_variety|default() == 'RedHat' and ansible_distribution_major_version is version('6', '<=') when: ansible_distribution_file_variety|default() == 'RedHat' and ansible_distribution_major_version is version('6', '<=')
@ -27,12 +28,14 @@
- name: Install python-nomad - name: Install python-nomad
pip: pip:
name: python-nomad name: python-nomad
extra_args: "-c {{ remote_constraints }}"
register: result register: result
until: result is success until: result is success
- name: Install jmespath - name: Install jmespath
pip: pip:
name: jmespath name: jmespath
extra_args: "-c {{ remote_constraints }}"
register: result register: result
until: result is success until: result is success