File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ ofed_version: '24.04-0.6.6.0' # LTS version 23.10-2.1.3.1 does not support RL9.
2
2
ofed_download_url : https://content.mellanox.com/ofed/MLNX_OFED-{{ ofed_version }}/MLNX_OFED_LINUX-{{ ofed_version }}-{{ ofed_distro }}{{ ofed_distro_version }}-{{ ofed_arch }}.tgz
3
3
ofed_distro : rhel # NB: not expected to work on other distros due to installation differences
4
4
ofed_distro_version : " {{ ansible_distribution_version }}" # e.g. '8.9'
5
+ ofed_distro_major_version : " {{ ansible_distribution_major_version }}" # e.g. '8'
5
6
ofed_arch : " {{ ansible_architecture }}"
6
7
ofed_tmp_dir : /tmp
7
8
ofed_update_firmware : false
Original file line number Diff line number Diff line change 31
31
32
32
- name : Install build prerequisites
33
33
dnf :
34
- name : " {{ ofed_build_packages + (ofed_build_rl8_packages if ofed_distro_version == '8.9 ' else []) }}"
34
+ name : " {{ ofed_build_packages + (ofed_build_rl8_packages if ofed_distro_major_version == '8' else []) }}"
35
35
when : " 'MLNX_OFED_LINUX-' + ofed_version not in _ofed_info.stdout"
36
36
# don't want to install a load of prereqs unnecessarily
37
37
You can’t perform that action at this time.
0 commit comments