jomrr / ansible-role-nginx

Ansible role for setting up the nginx server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible role nginx

GitHub GitHub last commit GitHub issues

Ansible role for setting up the nginx sever.

Description

This role installs the Nginx package, sets up the configuration files, modules, virtual hosts or reverse-proxy definitons and manages the service.

Table of Contents

Prerequisites

System packages (Fedora)

  • python3 (Python 3.6 or later)

Python (requirements.txt)

  • ansible >= 2.15

Dependencies (requirements.yml)

This role has no dependencies.

Supported Platforms

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

Role Variables

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

Example Playbook

Example(s) of how to use this role:

The default example playbook

The default example playbook for the role.

---
# play: "nginx"
# file: "nginx.yml"
- hosts: all
  gather_facts: true
  roles:
    - role: "jomrr.nginx"

License

This role is published under the MIT License.

Author Information

This role was created in 2024 by Jonas Mauer (@jomrr).

Contributing

Contributions to this role are welcome. Please follow the steps described in CONTRIBUTING.md.

References

No references.


About

Ansible role for setting up the nginx server.

License:MIT License


Languages

Language:Jinja 100.0%