nginx

Ansible Role: NGINX

Gitlab pipeline status (self-hosted)

Installs and configures the NGINX Web Server.

Requirements

Ansible version 2.0 or higher

Role Variables

Available variables are listed below, along with their default values (see defaults/main.yml for more info):

dubzland_nginx_package_name

dubzland_nginx_package_name: nginx

The name of the NGINX package to install.

dubzland_nginx_package_version

dubzland_nginx_package_version: ""

Specific version of NGINX to install. Needs to be formatted according to the OS specific package manager.

dubzland_nginx_vhosts

dubzland_nginx_vhosts: []

List of vhosts to configure and enable.

dubzland_nginx_default_vhost_enabled

dubzland_nginx_default_vhost_enabled: false

Set to true to keep the the default vhost.

Dependencies

None

Example Playbook

- hosts: web-servers
  roles:
    - role: dubzland_nginx

License

MIT

Author

About

NGINX Web Server for Debian

Install
ansible-galaxy install dubzland/ansible-role-nginx
GitHub repository
License
mit
Downloads
97
Owner
A lone greybeard