ansible-roles/apache
Patrick Marchand 3bcc357509 Make ip whitelist tasks more flexible
Now the list of whitelisted ip addresses can be updated simply by
including the specific tasks in an external playbook without polluting
our role list.

This change takes effect for nginx, apache and fail2ban.
2018-10-29 16:53:46 -04:00
..
defaults apache/nginx: server status suffix 2018-01-03 10:05:20 +01:00
files Apache/Nginx: use ipaddr_whitelist 2017-10-07 13:48:04 +02:00
handlers Fix "Unable to reload service munin-node: Failed to reload munin-node.service: Job type reload is not applicable for unit munin-node.service.\n" 2017-08-22 06:30:04 +02:00
meta apache is compatible with Stretch 2017-09-04 17:15:02 +02:00
tasks Make ip whitelist tasks more flexible 2018-10-29 16:53:46 -04:00
templates Apache: Don't turn on modsec if it's available on default vhost 2018-03-12 11:00:57 +01:00
tests Update test kitchen configuration and directory layout 2017-02-27 15:49:10 -05:00
.kitchen.yml Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
README.md Apache/Nginx: use ipaddr_whitelist 2017-10-07 13:48:04 +02:00

Apache

Install Apache

Tasks

Everything is in the tasks/main.yml file for now.

Available variables

Main variables are :

  • apache_ipaddr_whitelist_present : list of IP addresses to have in the private whitelist ;
  • apache_ipaddr_whitelist_absent : list of IP addresses not to have in the whitelist;
  • apache_private_htpasswd_present : list of users to have in the private htpasswd ;
  • apache_private_htpasswd_absent : list of users to not have in the private htpasswd.
  • log2mail_alert_email: email address to send Log2mail messages to (default: general_alert_email).

The full list of variables (with default values) can be found in defaults/main.yml.