From 47f350bc3aa85a8bd406d95faf084df2abf74ae9 Mon Sep 17 00:00:00 2001
From: "Suren A. Chilingaryan" <csa@suren.me>
Date: Sun, 18 Mar 2018 22:59:31 +0100
Subject: Second revision: includes hostpath mounts, gluster block storage,
 kaas apps, etc.

---
 roles/ofed/tasks/main.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'roles/ofed/tasks')

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
-- 
cgit v1.2.3