Updates Kuberef to use BMRA v21.08
[kuberef.git] / sw_config / bmra / patched_packages.yml
1 # SPDX-FileCopyrightText: 2021 Intel Corporation.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 ---
6 - name: install packages on RHEL-based distro
7   include_tasks: rhel.yml
8   when: ansible_os_family == "RedHat"
9
10 - name: install packages on Debian-based distro
11   include_tasks: debian.yml
12   when: ansible_os_family == "Debian"
13
14 #net_attach_def, docker registry, cmk reqs
15 - name: upgrade Python wheel and setuptools
16   pip:
17     name:
18       - wheel==0.34.2
19       - setuptools<=44
20     extra_args: --upgrade
21
22 #pinned python packages versions
23 - name: install Python packages
24   pip:
25     name:
26       - jmespath==0.9.5
27       - ruamel.yaml.clib==0.2.2
28       - ruamel.yaml==0.16.13
29       - cachetools=={{ (ansible_os_family == 'RedHat' and ansible_distribution_version < '8') | ternary('3.1.1', '4.2.1') }}
30       - markupsafe==1.1.1
31       - jinja2==2.11.3
32       - openshift==0.11.2
33       - six>=1.15.0
34       - websocket-client==0.58.0
35       - oauthlib==3.1.0
36     state: present
37   register: pip_result
38   retries: 5
39   until: pip_result is succeeded
40   delay: 5