DeadSwitch 0d177d799e
All checks were successful
Test the role / test-the-role (push) Successful in 7s
Use the production profile for linting.
2026-02-17 15:50:59 +01:00
2026-02-10 12:15:27 +01:00
2026-02-17 15:48:33 +01:00
2026-02-17 15:48:33 +01:00

Nginx Web Server Installer Role

ds_nginx

This Ansible role installs the Nginx web server.

  • Disables the default site.
  • No other site configuration.
  • No additional hardening.

Requirements

  • Debian 12+ or compatible.
  • Sudo access or root.
  • Port 80 (and 443) are reachable.

Example Playbook

- name: Install the Nginx web server
  hosts: webservers
  become: true

  roles:
    - role: ds_nginx

Handlers

  • Reload_nginx
  • Restart_nginx

License

MIT License

[ Fear the Silence. Fear the Switch. ]

Description
This Ansible role installs the Nginx web service.
Readme 36 KiB