Skip to content

Commit

Permalink
Merge pull request #18 from mhakala/master
Browse files Browse the repository at this point in the history
Allow overriding rdma_core_packages installation.
  • Loading branch information
mhakala authored Dec 4, 2020
2 parents 1bfcee0 + f6caa29 commit f7ccdfb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tasks/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
state: absent
when: rdma_type == 'el'

# if rdma_core_packages is not defined use the ones from vars
- name: install rdma
package:
name: "{{ rdma_core_packages }}"
name: "{{ rdma_core_packages | default(role_rdma_core_packages) }}"
state: present

- name: install extra rdma packages
Expand Down
2 changes: 1 addition & 1 deletion vars/mlnx_ofed.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Variables for Mellanox OFED RDMA stack

rdma_core_packages:
role_rdma_core_packages:
- mlnx-ofed-kernel-only
- libibverbs
- libmlx4
Expand Down
2 changes: 1 addition & 1 deletion vars/mlnx_ofed_upstream_libs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Variables for Mellanox OFED RDMA stack using the RPMS/UPSTREAM_LIBS repo

rdma_core_packages:
role_rdma_core_packages:
- mlnx-ofed-kernel-only
- rdma-core
- libibverbs
Expand Down

0 comments on commit f7ccdfb

Please sign in to comment.