Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jomrr/ansible-role-httpd
Ansible role for setting up apache httpd.
https://github.com/jomrr/ansible-role-httpd
ansible ansible-role apache apache2 apache24 httpd
Last synced: 2 months ago
JSON representation
Ansible role for setting up apache httpd.
- Host: GitHub
- URL: https://github.com/jomrr/ansible-role-httpd
- Owner: jomrr
- License: mit
- Created: 2024-04-14T14:04:25.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-14T13:24:14.000Z (5 months ago)
- Last Synced: 2024-09-30T17:23:44.868Z (3 months ago)
- Topics: ansible, ansible-role, apache, apache2, apache24, httpd
- Language: Jinja
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible role apache
![GitHub](https://img.shields.io/github/license/jomrr/ansible-role-httpd) ![GitHub last commit](https://img.shields.io/github/last-commit/jomrr/ansible-role-httpd) ![GitHub issues](https://img.shields.io/github/issues-raw/jomrr/ansible-role-httpd)
**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]( https://hub.docker.com/r/jomrr/molecule-almalinux ) |
| Alpine | Alpine | latest | [jomrr/molecule-alpine:latest]( https://hub.docker.com/r/jomrr/molecule-alpine ) |
| Archlinux | Archlinux | latest | [jomrr/molecule-archlinux:latest]( https://hub.docker.com/r/jomrr/molecule-archlinux ) |
| Debian | Debian | latest | [jomrr/molecule-debian:latest]( https://hub.docker.com/r/jomrr/molecule-debian ) |
| RedHat | Fedora | latest | [jomrr/molecule-fedora:latest]( https://hub.docker.com/r/jomrr/molecule-fedora ) |
| Suse | OpenSuse Leap | latest | [jomrr/molecule-opensuse-leap:latest]( https://hub.docker.com/r/jomrr/molecule-opensuse-leap ) |
| Suse | OpenSuse Tumbleweed | latest | [jomrr/molecule-opensuse-tumbleweed:latest]( https://hub.docker.com/r/jomrr/molecule-opensuse-tumbleweed ) |
| Debian | Ubuntu | latest | [jomrr/molecule-ubuntu:latest]( https://hub.docker.com/r/jomrr/molecule-ubuntu ) |## Role Variables
No role default variables specified, see [defaults/main.yml](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.
```yaml
---
# 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](https://github.com/jomrr)
- :triangular_flag_on_post: Copyright:: 2024, Jonas Mauer
- :page_with_curl: License:: [MIT](LICENSE)## References
- [Apache HTTP Server Documentation](https://httpd.apache.org/docs/)
- [ArchWiki - Apache HTTP Server](https://wiki.archlinux.org/title/Apache_HTTP_Server)
- [Fedora Quick Docs - Getting started with Apache HTTP Server](https://docs.fedoraproject.org/en-US/quick-docs/getting-started-with-apache-http-server/)---