Ansible role for setting up the nginx sever.
This role installs the Nginx package, sets up the configuration files, modules, virtual hosts or reverse-proxy definitons and manages the service.
- Description
- Table of Contents
- Prerequisites
- Dependencies (requirements.yml)
- Supported Platforms
- Role Variables
- Example Playbook
- The default example playbook
- License
- Author Information
- Contributing
- References
python3
(Python 3.6 or later)
- ansible >= 2.15
This role has no dependencies.
OS Family | Distribution | Version | Container Image |
---|---|---|---|
Debian | Debian | 11 | jomrr/molecule-debian:11 |
12 | jomrr/molecule-debian:12 | ||
latest | jomrr/molecule-debian:latest | ||
testing | jomrr/molecule-debian:testing | ||
Debian | Ubuntu | 20.04 | jomrr/molecule-ubuntu:20.04 |
22.04 | jomrr/molecule-ubuntu:22.04 | ||
latest | jomrr/molecule-ubuntu:latest | ||
RedHat | AlmaLinux | 8 | jomrr/molecule-almalinux:8 |
9 | jomrr/molecule-almalinux:9 | ||
latest | jomrr/molecule-almalinux:latest | ||
RedHat | Fedora | 39 | jomrr/molecule-fedora:39 |
latest | jomrr/molecule-fedora:latest | ||
rawhide | jomrr/molecule-fedora:rawhide |
No role default variables specified, see defaults/main.yml.
Example(s) of how to use this role:
The default example playbook for the role.
---
# play: "nginx"
# file: "nginx.yml"
- hosts: all
gather_facts: true
roles:
- role: "jomrr.nginx"
This role is published under the MIT License.
This role was created in 2024 by Jonas Mauer (@jomrr).
Contributions to this role are welcome. Please follow the steps described in CONTRIBUTING.md.
No references.