hadenlabs.ansible_role_nginx

Latest Release Lint pre-commit Conventional Commits KeepAChangelog

ansible-role-nginx

ansible-role-nginx for hadenlabs.

Requirements

This is a list of applications that need to be installed previously to enjoy all the goodies of this configuration:

Usage

How to use this project

ansible-galaxy install hadenlabs.nginx

Full working examples can be found in examples folder.

Examples

packages

To run this playbook with default settings, for install package like this:

generate file requirements.yml

- name: hadenlabs.ansible-role-nginx
  src: git+https://github.com/hadenlabs/ansible-role-nginx
  version: /main
- hosts: all
  roles:
    - role: hadenlabs.ansible-role-nginx
      become: true
      vars:
        ansible-role-nginx_owner: ubuntu

Requirements

Role Variables

The default role variables in defaults/main.yml are:

# defaults file for nginx
nginx_keepalive_timeout: "65"
nginx_keepalive_requests: "1000"

nginx_client_max_body_size: "64m"
nginx_client_body_timeout: "3m"
nginx_client_header_timeout: "3m"

nginx_server_names_hash_bucket_size: "64"

Help

Got a question?

File a GitHub issue.

Contributing

See Contributing.

Module Versioning

This Module follows the principles of Semantic Versioning (SemVer).

Using the given version number of MAJOR.MINOR.PATCH, we apply the following constructs:

  1. Use the MAJOR version for incompatible changes.
  2. Use the MINOR version when adding functionality in a backwards compatible manner.
  3. Use the PATCH version when introducing backwards compatible bug fixes.

Backwards compatibility in 0.0.z and 0.y.z version

  • In the context of initial development, backwards compatibility in versions 0.0.z is not guaranteed when z is increased. (Initial development)
  • In the context of pre-release, backwards compatibility in versions 0.y.z is not guaranteed when y is increased. (Pre-release)

Copyright © 2018-2022 Hadenlabs

Trademarks

All other trademarks referenced herein are the property of their respective owners.

License

The code and styles are licensed under the LGPL-3.0 license See project license..

Don't forget to 🌟 Star 🌟 the repo if you like ansible-role-nginx

Your feedback is appreciated

About

Ansible role nginx

Install
ansible-galaxy install hadenlabs.ansible_role_nginx
GitHub repository
License
lgpl-3.0
Downloads
40
Owner