Skip to content

Commit

Permalink
Merge pull request #17 from jabl/no-srp-ser
Browse files Browse the repository at this point in the history
Don't load srp, srpt, iser, isert modules
  • Loading branch information
VilleS1 authored Dec 12, 2019
2 parents 74983d9 + 545714e commit 30c0340
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tasks/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,34 @@
state: present
when: rdma_type == 'mlnx_ofed' or rdma_type == 'mlnx_ofed_upstream_libs'

- name: Do not load ib_srp (scsi over RDMA) module
lineinfile:
path: /etc/rdma/rdma.conf
regexp: '^SRP_LOAD='
line: 'SRP_LOAD=no'
state: present

- name: Do not load ib_srpt (scsi over RDMA target) module
lineinfile:
path: /etc/rdma/rdma.conf
regexp: '^SRPT_LOAD='
line: 'SRPT_LOAD=no'
state: present

- name: Do not load ib_iser (iscsi over RDMA) module
lineinfile:
path: /etc/rdma/rdma.conf
regexp: '^ISER_LOAD='
line: 'ISER_LOAD=no'
state: present

- name: Do not load ib_isert (iscsi over RDMA target) module
lineinfile:
path: /etc/rdma/rdma.conf
regexp: '^ISERT_LOAD='
line: 'ISERT_LOAD=no'
state: present

##

- name: Manage the rdma service
Expand Down

0 comments on commit 30c0340

Please sign in to comment.