]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Set a high max open files limit
authorAndrew Schoen <aschoen@redhat.com>
Sun, 15 Mar 2015 19:01:44 +0000 (14:01 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 18 Mar 2015 14:15:24 +0000 (09:15 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/common/tasks/main.yml

index 77614b5dfcc31062862147fe3b7f6bc118f564c5..b69a359226b90843aa97fceaf32e40162151f320 100644 (file)
@@ -2,6 +2,14 @@
 # configure pip to use our mirror
 - include: pip.yml
 
+- name: Set a high max open files limit
+  copy:
+    dest: /etc/security/limits.d/ubuntu.conf
+    owner: root
+    group: root
+    mode: 0755
+    content: ubuntu hard nofile 16384
+
 # configure red hat specific things
 - include: setup-redhat.yml
   when: ansible_os_family == 'RedHat'