From 603518e5bd1b25941b5441524ae8f3cc6d73cbe7 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 3 Aug 2020 15:16:10 +0200 Subject: [PATCH] On EL, enable httpd_setrlimit. --- tasks/nginx-rh.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/nginx-rh.yml b/tasks/nginx-rh.yml index fa62751..fcedd97 100644 --- a/tasks/nginx-rh.yml +++ b/tasks/nginx-rh.yml @@ -10,5 +10,11 @@ persistent: yes when: letsencrypt_acme_install is defined and letsencrypt_acme_install + - name: Give nginx the ability to set RLIMIT_NOFILE + seboolean: + name: httpd_setrlimit + state: yes + persistent: yes + when: ansible_distribution_file_variety == "RedHat" tags: nginx