Skip to content

Commit f7ccdfb

Browse files
authored
Merge pull request #18 from mhakala/master
Allow overriding rdma_core_packages installation.
2 parents 1bfcee0 + f6caa29 commit f7ccdfb

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

tasks/redhat.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
state: absent
99
when: rdma_type == 'el'
1010

11+
# if rdma_core_packages is not defined use the ones from vars
1112
- name: install rdma
1213
package:
13-
name: "{{ rdma_core_packages }}"
14+
name: "{{ rdma_core_packages | default(role_rdma_core_packages) }}"
1415
state: present
1516

1617
- name: install extra rdma packages

vars/mlnx_ofed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# Variables for Mellanox OFED RDMA stack
33

4-
rdma_core_packages:
4+
role_rdma_core_packages:
55
- mlnx-ofed-kernel-only
66
- libibverbs
77
- libmlx4

vars/mlnx_ofed_upstream_libs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# Variables for Mellanox OFED RDMA stack using the RPMS/UPSTREAM_LIBS repo
33

4-
rdma_core_packages:
4+
role_rdma_core_packages:
55
- mlnx-ofed-kernel-only
66
- rdma-core
77
- libibverbs

0 commit comments

Comments
 (0)