Skip to content

Commit

Permalink
Merge pull request #10 from jabl/mlnx_ofed_repo_remove
Browse files Browse the repository at this point in the history
Make sure MLNX_OFED repo isn't messing things up if using EL RDMA
  • Loading branch information
VilleS1 authored Mar 5, 2019
2 parents 6262f94 + ef99de9 commit 7f5dc07
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# mlnx_ofed - Mellanox OFED
rdma_type: "el"

# MLNX_OFED repo name
mlnx_ofed_repo: 'mlnx_ofed'

rdma_packages:
- dapl
- infiniband-diags
Expand Down
7 changes: 7 additions & 0 deletions tasks/redhat.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
---
# tasks file for ansible-role-rdma
#

- name: Make sure MLNX_OFED repo does not mess up if using EL RDMA packages
yum_repository:
name: "{{ mlnx_ofed_repo }}"
state: absent
when: rdma_type == 'el'

- name: install rdma
package:
name: "{{ item }}"
Expand Down

0 comments on commit 7f5dc07

Please sign in to comment.