Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wluisaraujo/ansible-role-nginx
- Owner: wluisaraujo
- License: gpl-3.0
- Created: 2019-07-01T18:55:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-03T17:09:12.000Z (almost 3 years ago)
- Last Synced: 2024-11-17T20:21:59.962Z (3 months ago)
- Topics: ansible, ansible-role, nginx, webserver
- Language: Dockerfile
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)