Ansible roles by Evolix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jérémy Lecour 7283e34077 Replace version_compare() with version() 11 months ago
defaults apache: add a variable to customize the server-status host 1 year ago
files apache: improve permissions in save_apache_status script 1 year ago
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" 3 years ago
meta change repositories URL 1 year ago
tasks Replace version_compare() with version() 11 months ago
templates apache: the default VHost doesn't redirect to https for ".well-known" paths 1 year ago
tests Update test kitchen configuration and directory layout 3 years ago
.kitchen.yml Kitchen: Change base image to evolix/ansible 3 years ago apache/nginx/fail2ban: mention ip_whitelist.yml in 2 years ago


Install Apache


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

An ip_whitelist.yml standalone task file is available to update IP adresses whitelist without rolling the whole role.

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.