ctrlaltreboot / ansible-role-nginx

Ansible role to manage nginx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-role-nginx

Currently only tested and compatible with CentOS 7. Installs nginx and configures a user defined nginx config and vhost file.

Requirements

Knowledge of using Ansible is required.

Role Variables

Users are to manage nginx configuration.

You will need to overried variables where configuration are found in your playbook.

  • nginx_config_file: the nginx.conf file
  • nginx_confd_dir: directory w/ vhost files
  • nginx_ssl_dir: directory w/ ssl certs files

Dependencies

None

Example Playbook

- hosts: servers
  roles:
     - { role: xyzrbt.nginx }

License

GPLv2

Author Information

github.com/xyzrbt

About

Ansible role to manage nginx


Languages

Language:Nginx 81.5%Language:Python 18.5%