Skip to content

Ansible role for setting up apache httpd.

License

Notifications You must be signed in to change notification settings

jomrr/ansible-role-httpd

Repository files navigation

Ansible role apache

GitHub GitHub last commit GitHub issues

Ansible role for setting up apache httpd.

Description

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.

Prerequisites

This role has no special prerequisites.

System packages (Fedora)

  • python3 (Python 3.8 or later)
  • httpd (>= 2.4)

Python (requirements.txt)

  • ansible >= 2.15

Dependencies (requirements.yml)

This role has no dependencies.

Supported Platforms

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

Role Variables

No role default variables specified, see defaults/main.yml.

Example Playbook

Example playbooks(s) that show how to use this role.

Simple example playbook

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"

Author(s) and License

  • :octocat: Author:: jomrr
  • 🚩 Copyright:: 2024, Jonas Mauer
  • 📃 License:: MIT

References


Releases

No releases published

Languages