Ansible: NGINX Webserver
=======================

Ansible playbook to provision a single nginx webserver.

It provisions a `web` node in the `webservers` group with the following nginx configuration declared in `group_vars/webservers.yml`:

    nginx_user: "nginx"
    nginx_vhosts:
      + listen: "80 default_server"
        server_name: "example.com"
        root: "/srv/app"
        index: "index.html"

OS:
- RHEL/CentOS 6.x.

Usage
-----

Clone repo:
    
    $ git clone <repo> ./ansible

Install Ansible Galaxy requirements.

    $ ansible-galaxy install -r requirements.yml -p roles/ --ignore-errors

Vagrant
-------

Vagrant up:

    $ vagrant up

Ansible: NGINX Webserver
=======================

Ansible playbook to provision nginx webservers.

It provisions a `web` node in the `webservers` group with the following nginx configuration declared in `group_vars/webservers.yml`:

    nginx_user: "nginx"
    nginx_vhosts:
      + listen: "80 default_server"
        server_name: "example.com"
        root: "/srv/app"
        index: "index.html"

OS:
- RHEL/CentOS 6.x.

Usage
-----

Clone repo:
    
    $ git clone <repo> ./ansible

Install Ansible Galaxy requirements.

    $ ansible-galaxy install -r requirements.yml -p roles/ --ignore-errors

Vagrant
-------

Vagrant up:

    $ vagrant up

Edit "Ansible playbook to provision nginx webservers."
Edit "Ansible playbook to provision nginx webservers."
