summaryrefslogtreecommitdiffstats
path: root/roles/ofed/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ofed/tasks/main.yml')
-rw-r--r--roles/ofed/tasks/main.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/roles/ofed/tasks/main.yml b/roles/ofed/tasks/main.yml
index bd85d43..df8392d 100644
--- a/roles/ofed/tasks/main.yml
+++ b/roles/ofed/tasks/main.yml
@@ -1,6 +1,12 @@
- name: install the 'Infiniband support' package group
yum: name="@Infiniband Support" state=present
-
+
+
+# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-configuring_the_base_rdma_subsystem
+- name: Allow users unrestricted page-locking
+ copy: src="rdma_limits.conf" dest="/etc/security/limits.d/50-rdma.conf" owner="root" group="root" mode="0644"
+
- name: start rdma service
service: name="rdma" enabled=yes state=started
+
\ No newline at end of file