No Description

Edin Sarajlic 781f882f65 Update HTTP log format to output year in format YYYY/MM/dd (easier to parse) 1 day ago
defaults 5ce4078995 Add config for setting (HTTP header) X-Content-Type-Options 1 day ago
handlers a6d2147815 Refactor: reformat handlers file from Ansible-specific "YAML" to generic YAML 2 days ago
tasks 464ef5b7b7 Remove old tasks/files for configuring Apache modules. This is now done via flexible conf copying/enabling using Ansible variables 2 days ago
templates 781f882f65 Update HTTP log format to output year in format YYYY/MM/dd (easier to parse) 1 day ago
README cae694a4cc README: Fix spacing for clarity 2 years ago

README

Created and tested on a Debian Jessie machine.

A role for creating a Apache HTTP server.

Clone this git repo into your Ansible's role directory, e.g.:

git clone ansible-apachehttpd.git roles/apachehttpd

--

The provided task "deploy_custom_config.yml" copies files from the
source (Ansible server) to the destination (Apache HTTP server)

This allows you to centrally manage (and easily version control) files
that may be unique per-host, such as VirtualHost configs

Once ANY file(s) have been copied across, the Apache HTTP server is
reloaded.

Variables to define:

Source, as defined by the variable:
apachehttpd_custom_config_src
e.g. "{{ inventory_hostname }}/etc/apache2/"

Destination, as defined by the variable:
apachehttpd_custom_config_dst
defaults to /etc/apache2/