mrlesmithjr.nginx-load-balancer

ansible-nginx-load-balancer

Ansible role to set up and manage an NGINX load balancer for:

Uses

  • Balancing HTTP traffic
  • Balancing HTTPS traffic
    • Handling SSL connections
    • Using self-signed certificates
  • Balancing TCP traffic
  • Balancing UDP traffic
  • Setting up High Availability (HA)

Build Status

GitHub Actions

Molecule Test

Travis CI

Build Status

Requirements

For any needed Ansible roles, check: requirements.yml

Role Variables

See defaults/main.yml for default variables.

Dependencies

These Ansible roles should be used together with the ansible-nginx-load-balancer role:

  • ansible-etc-hosts
    • Lets you update the /etc/hosts file with all hosts in the setup.
  • ansible-keepalived
    • Provides a Virtual IP (VIP) for High Availability across multiple ansible-nginx-load-balancer nodes.

You can install these roles with ansible-galaxy using the included requirements.

ansible-galaxy install -r requirements.yml

Sample Playbook

Refer to playbook.yml for an example.

License

MIT

Author Information

Larry Smith Jr.

NOTE: This repository was created/updated using https://github.com/mrlesmithjr/cookiecutter-ansible-role as a template.

Informazioni sul progetto

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

Installa
ansible-galaxy install mrlesmithjr.nginx-load-balancer
Licenza
mit
Download
354
Proprietario
Doing my thang with #automation #DevOps and cloudy things! Providing hopefully valuable content for others to consume easily and also learn from.