Ansible role for setting up apache httpd.
Install apache httpd from os repositories and configure
- default server
- modules
- reverse proxy
- TLS
- virtual hosts for version 2.4 or greater. The role will not work with version 2.2.
This role has no special prerequisites.
python3
(Python 3.8 or later)httpd (>= 2.4)
- ansible >= 2.15
This role has no dependencies.
OS Family | Distribution | Version | Container Image |
---|---|---|---|
RedHat | AlmaLinux | latest | jomrr/molecule-almalinux:latest |
Alpine | Alpine | latest | jomrr/molecule-alpine:latest |
Archlinux | Archlinux | latest | jomrr/molecule-archlinux:latest |
Debian | Debian | latest | jomrr/molecule-debian:latest |
RedHat | Fedora | latest | jomrr/molecule-fedora:latest |
Suse | OpenSuse Leap | latest | jomrr/molecule-opensuse-leap:latest |
Suse | OpenSuse Tumbleweed | latest | jomrr/molecule-opensuse-tumbleweed:latest |
Debian | Ubuntu | latest | jomrr/molecule-ubuntu:latest |
No role default variables specified, see defaults/main.yml.
Example playbooks(s) that show how to use this role.
A simple default example playbook for using jomrr.apache.
---
# name: "jomrr.apache"
# file: "playbook_apache.yml"
- name: "PLAYBOOK | apache"
hosts: "apache_hosts"
gather_facts: true
roles:
- role: "jomrr.apache"
- Apache HTTP Server Documentation
- ArchWiki - Apache HTTP Server
- Fedora Quick Docs - Getting started with Apache HTTP Server