diff --git a/ansible/roles/ldap/handlers/main.yml b/ansible/roles/ldap/handlers/main.yml new file mode 100644 index 00000000..f06b75c3 --- /dev/null +++ b/ansible/roles/ldap/handlers/main.yml @@ -0,0 +1,7 @@ +--- +- name: Restart httpd + ansible.builtin.systemd: + name: httpd + state: restarted + tags: + - role::ldap diff --git a/ansible/roles/ldap/tasks/main.yml b/ansible/roles/ldap/tasks/main.yml index 5e1c5c84..1a163dc2 100644 --- a/ansible/roles/ldap/tasks/main.yml +++ b/ansible/roles/ldap/tasks/main.yml @@ -23,3 +23,20 @@ - Reload the firewall tags: - role::ldap + +- name: Increase apache process limit + ansible.builtin.copy: + content: | + + + + ServerLimit 48 + + dest: /etc/httpd/conf.modules.d/99-mpm-server-limit.conf + owner: root + group: root + mode: 0o444 + notify: + - Restart httpd + tags: + - role::ldap