Skip to content

webarch-coop/ansible-role-apache

Repository files navigation

Webarchitect Apache Ansible Role

pipeline status

This repo contains an Ansible role for installing and configuring Apache on Debian servers.

If you use this role please use a tagged release, see the release notes.

By default this role uses mod_md for HTTPS certifiates, in addition the cert and key matching the inventory_hostname are be copied for use by other applications, specifically Exim, see the apache_md_cert_copy list of dictionaries.

Usage

Run this role using the apache_install tag for the intial install, once apache2 has been installed the role can be run in check mode.

Role variables

See the defaults/main.yml file for the default variables, the vars/main.yml file for the preset variables and the meta/argument_specs.yml file for the variable specification.

Repository

The primary URL of this repo is https://git.coop/webarch/apache however it is also mirrored to GitHub and available via Ansible Galaxy.

If you use this role please use a tagged release, see the release notes.

Copyright

Copyright 2018-2025 Chris Croome, <[email protected]>.

This role is released under the same terms as Ansible itself, the GNU GPLv3.