Skip to content

feat: add AlmaLinux support, MPM selection, and modernize role#7

Open
sdickenson wants to merge 1 commit intomasterfrom
modernize
Open

feat: add AlmaLinux support, MPM selection, and modernize role#7
sdickenson wants to merge 1 commit intomasterfrom
modernize

Conversation

@sdickenson
Copy link
Member

Summary

  • Add AlmaLinux 9 and 10 platform support
  • Add MPM selection (prefork, worker, event) for all Apache 2.4 distros via apache_modular_config variable, replacing brittle version-string checks in templates
  • Modernize Ansible syntax: FQCNs (ansible.builtin.*), YAML dict syntax, quoted file modes, ansible.builtin.package instead of ansible.builtin.yum
  • Update httpd.conf with proper Apache 2.4 IfModule blocks for all three MPMs using modern directive names (MaxRequestWorkers, MaxConnectionsPerChild)
  • Bump minimum Ansible version to 2.10
  • Update author metadata and version to 1.0.0
  • Add .gitignore

Notes

  • Default apache_mpm_module remains prefork — no behavior change for existing deployments
  • First run on existing hosts will trigger an Apache reload due to config content changes (functionally equivalent config)
  • lock_timeout removed from package tasks

Test plan

  • Verify role applies cleanly on AlmaLinux 9
  • Verify role applies cleanly on AlmaLinux 10
  • Verify role applies cleanly on Amazon Linux 2023
  • Verify MPM selection works (set apache_mpm_module: event and confirm correct module loaded)
  • Verify existing CentOS 7 / Amazon 2 deployments converge without errors
  • Verify legacy distros (CentOS 6) still get Apache 2.2 config

🤖 Generated with Claude Code

…e syntax

- Add AlmaLinux 9 and 10 platform support
- Add MPM selection (prefork, worker, event) for all Apache 2.4 distros
- Introduce apache_modular_config variable to replace brittle version checks
- Modernize Ansible syntax: FQCNs, YAML dict syntax, quoted file modes
- Switch from ansible.builtin.yum to ansible.builtin.package
- Update httpd.conf to use Apache 2.4 directive names
- Bump minimum Ansible version to 2.10
- Update author to Rhythmic Open Source
- Add .gitignore

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sdickenson sdickenson requested a review from a team March 5, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant