This is an Ansible role for installing apache on Debian. It also optionally installs awstats.
It performs some essential configuration such as enabling several
apache modules, marking 301 redirections as non-cacheable, and changing
the default log format. Other than that, it doesn't do much and should
be combined with apache-vhost
.
use_ferm
: Iftrue
, it drops a configuration snippet in/etc/ferm/ansible-late
in order to allow connections to ports 80 and 443. In this case you must also use ansible_ferm. The default istrue
for backwards compatibility reasons.use_awstats
: Iftrue
, it installs and configures awstats. The default istrue
for backwards compatibility reasons.
Written by Antonis Christofides
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.