From ea29296fb085e72849ab893caf1dbe2648a85741 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Sun, 15 Mar 2015 14:01:44 -0500 Subject: [PATCH] Set a high max open files limit Signed-off-by: Andrew Schoen --- roles/common/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 77614b5..b69a359 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -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' -- 2.39.5