Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wluisaraujo/ansible-role-nginx

Infrastructure as Code (IaC) with Ansible for NGINX
https://github.com/wluisaraujo/ansible-role-nginx

ansible ansible-role nginx webserver

Last synced: 24 days ago
JSON representation

Infrastructure as Code (IaC) with Ansible for NGINX

Awesome Lists containing this project

README

        

[![Ansible Galaxy](https://img.shields.io/badge/Ansible%20Galaxy-NGINX-blue.svg)](https://galaxy.ansible.com/wluisaraujo/nginx) [![Build Status](https://travis-ci.com/wluisaraujo/ansible-role-nginx.svg?branch=master)](https://travis-ci.com/wluisaraujo/ansible-role-nginx) [![Docker Pulls](https://img.shields.io/badge/docker%20pulls-99-blue)](https://hub.docker.com/r/wluisaraujo/nginx/)
---
# IaC: with [Ansible](https://www.ansible.com) role to install and configure [NGINX](https://nginx.org)
------------

Description
------------

* Ansible role for NGINX

Requirements
------------

*

Installation
------------

```console
vagrant@localhost:~$ ansible-galaxy install wluisaraujo.nginx
vagrant@localhost:~$ ansible-galaxy install -r wluisaraujo.nginx/requirements.txt
```

Role Variables
--------------

[defaults/main.yml](defaults/main.yml)

```yaml
vars:
- mydomain: define o dominio do ambiente
- server01: server 1 do balanceamento de carga
- server01: server 2 do balanceamento de carga
```

Dependencies
------------

* None

Example Playbook
----------------

```yaml
---
- hosts: all
roles:
- { role: nginx, MEUDOMINIO: EXEMPLO.NET }
...
````

----------------
[![Licence](https://img.shields.io/badge/License-GPL%20v3-red.svg)](https://www.gnu.org/licenses/gpl-3.0.pt-br.html)