Install and configure apache2 with mod-security paranoia level 1. This should work for almost all usecases without adaption.
- RHEL 8
- RHEL 7
- Debian 10
- Debian 11
- Ubuntu 18.04
- Ubuntu 20.04
- Ubuntu 22.04
ansible-galaxy install bwinfosec.apache_waf
- name: Setup webserver with WAF
hosts: webserver
become: true
roles:
- bwinfosec.apache_waf
This role includes a Molecule test to execute on RHEL/CentOS, Debian and Ubuntu.
To run all scenarios (i.e. test all platforms):
$ molecule test --all
To run a specific scenario by name:
$ molecule test --scenario-name ubuntu
$ molecule test --scenario-name debian
$ molecule test --scenario-name centos
This work is licensed under the LGPL AND the EUPL 1.2.
If you redistribute this code please also include the AUTHORS file.
If you want to contribute feel free to do so by creating a pull request on github.