Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is even with mrlesmithjr:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults
handlers
library
meta
tasks
templates
tests
vars
.travis.yml
.yamllint.yml
LICENSE.md
README.md
playbook.yml
requirements.yml
setup_travis_tests.sh

README.md

ansible-nginx-load-balancer

An Ansible role to install/configure an NGINX load balancer for HTTP/HTTPS/TCP/UDP

Build Status

Build Status

Requirements

None

Role Variables

defaults/main.yml

Dependencies

The following Ansible roles should be used along with this ansible-nginx-load-balancer role.

  • ansible-etc-hosts
    • Provides the ability to update /etc/hosts with all hosts which are part of the solution
  • ansible-keepalived
    • Provides the ability to provide the VIP for HA of multiple ansible-nginx-load-balancer nodes.

You can install the above roles using ansible-galaxy and the included requirements

ansible-galaxy install -r requirements.yml

Example Playbook

Example playbook

Usages

  • HTTP Load Balancing

  • HTTPS Load Balancing

    • SSL Termination

    • Self Signed Certs

  • TCP Load Balancing

  • UDP Load Balancing

  • HA (Highly Available) Setup

License

MIT

Author Information

Larry Smith Jr.

You can’t perform that action at this time.