Skip to content

Infrastructure as Code (IaC) with Ansible for NGINX

License

Notifications You must be signed in to change notification settings

wluisaraujo/ansible-role-nginx

Repository files navigation

Ansible Galaxy Build Status Docker Pulls

IaC: with Ansible role to install and configure NGINX


Description

  • Ansible role for NGINX

Requirements

Installation

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

Role Variables

defaults/main.yml

   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

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

Licence

About

Infrastructure as Code (IaC) with Ansible for NGINX

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published