Skip to content

Commit f4fa9ec

Browse files
committed
fix ofed_build_packages
1 parent d68559d commit f4fa9ec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ansible/roles/ofed/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ofed_build_packages: # may require additional packages depending on ofed_package
1818
- perl
1919
- rpm-build
2020
ofed_build_rl8_packages:
21-
- gdb-headless RL8
21+
- gdb-headless
2222
- python36
2323
ofed_package_selection: # list of package selection flags for mlnxofedinstall script
2424
- hpc

ansible/roles/ofed/tasks/install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
register: _ofed_info
3131

3232
- name: Install build prerequisites
33-
when: "'MLNX_OFED_LINUX-' + ofed_version not in _ofed_info.stdout"
34-
# don't want to install a load of prereqs unnecessarily
3533
dnf:
3634
name: "{{ ofed_build_packages + (ofed_build_rl8_packages if ofed_distro_version == '8.9' else []) }}"
35+
when: "'MLNX_OFED_LINUX-' + ofed_version not in _ofed_info.stdout"
36+
# don't want to install a load of prereqs unnecessarily
3737

3838
- name: Download and unpack Mellanox OFED tarball
3939
ansible.builtin.unarchive:

0 commit comments

Comments
 (0)