entanet_devops.nginx

Nginx

This is designed to install Nginx and allow you to control its settings completely.

It's tested only on Ubuntu 18.04.

Role Variables

  • nginx_config (Default True)
    You can set up the Nginx configuration using a file found in the templates/ directory.

  • nginx_delete_default_virtual_host (Default True)
    This will remove the default virtual host if set to true. Set it to false if you want to keep it.

  • nginx_verify_virtual_host_configs (Default True)
    This will check the virtual host configurations. Set it to false if you don't need this check.

Virtual Hosts

This role will process any virtual hosts found in the templates/nginx/ directory.

Example Playbook

- hosts: servers
  roles:
     - entanet-devops.nginx
Informazioni sul progetto

Installs nginx with full config control

Installa
ansible-galaxy install entanet_devops.nginx
Licenza
bsd-3-clause
Download
23.3k
Proprietario