Skip to content

Commit 30c0340

Browse files
authored
Merge pull request #17 from jabl/no-srp-ser
Don't load srp, srpt, iser, isert modules
2 parents 74983d9 + 545714e commit 30c0340

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

tasks/redhat.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,34 @@
9393
state: present
9494
when: rdma_type == 'mlnx_ofed' or rdma_type == 'mlnx_ofed_upstream_libs'
9595

96+
- name: Do not load ib_srp (scsi over RDMA) module
97+
lineinfile:
98+
path: /etc/rdma/rdma.conf
99+
regexp: '^SRP_LOAD='
100+
line: 'SRP_LOAD=no'
101+
state: present
102+
103+
- name: Do not load ib_srpt (scsi over RDMA target) module
104+
lineinfile:
105+
path: /etc/rdma/rdma.conf
106+
regexp: '^SRPT_LOAD='
107+
line: 'SRPT_LOAD=no'
108+
state: present
109+
110+
- name: Do not load ib_iser (iscsi over RDMA) module
111+
lineinfile:
112+
path: /etc/rdma/rdma.conf
113+
regexp: '^ISER_LOAD='
114+
line: 'ISER_LOAD=no'
115+
state: present
116+
117+
- name: Do not load ib_isert (iscsi over RDMA target) module
118+
lineinfile:
119+
path: /etc/rdma/rdma.conf
120+
regexp: '^ISERT_LOAD='
121+
line: 'ISERT_LOAD=no'
122+
state: present
123+
96124
##
97125

98126
- name: Manage the rdma service

0 commit comments

Comments
 (0)