Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ansible/roles/ldap/handlers/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
- name: Restart httpd
ansible.builtin.systemd:
name: httpd
state: restarted
tags:
- role::ldap
17 changes: 17 additions & 0 deletions ansible/roles/ldap/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,20 @@
- Reload the firewall
tags:
- role::ldap

- name: Increase apache process limit
ansible.builtin.copy:
content: |
<!-- Ansible managed -->
<!-- See https://stackoverflow.com/questions/22576807/scoreboard-is-full-not-at-maxrequestworkers -->
<IfModule mpm_event_module>
ServerLimit 48
</IfModule>
dest: /etc/httpd/conf.modules.d/99-mpm-server-limit.conf
owner: root
group: root
mode: 0o444

Check failure on line 38 in ansible/roles/ldap/tasks/main.yml

View workflow job for this annotation

GitHub Actions / lint-ansible / lint-ansible

yaml[octal-values]

Forbidden explicit octal value "0o444"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you address the ansible-lint violation here (bring it in line with other permission values within this project)

notify:
- Restart httpd
tags:
- role::ldap
Loading