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