https://github.com/mrlesmithjr/ansible-nginx-load-balancer
https://github.com/mrlesmithjr/ansible-nginx-load-balancer
ansible ansible-role load-balancer load-balancing nginx nginx-load-balance ssl ssl-termination
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mrlesmithjr/ansible-nginx-load-balancer
- Owner: mrlesmithjr
- License: mit
- Created: 2017-07-14T00:29:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-15T02:38:15.000Z (almost 6 years ago)
- Last Synced: 2025-03-24T06:51:48.091Z (9 months ago)
- Topics: ansible, ansible-role, load-balancer, load-balancing, nginx, nginx-load-balance, ssl, ssl-termination
- Language: Python
- Size: 49.8 KB
- Stars: 26
- Watchers: 4
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ansible-nginx-load-balancer
Ansible role to install/configure an NGINX load balancer for:
## Usages
- HTTP Load Balancing
- HTTPS Load Balancing
- SSL Termination
- Self Signed Certs
- TCP Load Balancing
- UDP Load Balancing
- HA (Highly Available) Setup
## Build Status
### GitHub Actions

### Travis CI
[](https://travis-ci.org/mrlesmithjr/ansible-nginx-load-balancer)
## Requirements
For any required Ansible roles, review:
[requirements.yml](requirements.yml)
## Role Variables
[defaults/main.yml](defaults/main.yml)
## Dependencies
The following Ansible roles **should** be used along with this `ansible-nginx-load-balancer` role.
- [ansible-etc-hosts](https://github.com/mrlesmithjr/ansible-etc-hosts)
- Provides the ability to update `/etc/hosts` with all hosts which are part of the solution
- [ansible-keepalived](https://github.com/mrlesmithjr/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](requirements.yml)
```bash
ansible-galaxy install -r requirements.yml
```
## Example Playbook
[playbook.yml](playbook.yml)
## License
MIT
## Author Information
Larry Smith Jr.
- [@mrlesmithjr](https://twitter.com/mrlesmithjr)
- [mrlesmithjr@gmail.com](mailto:mrlesmithjr@gmail.com)
- [http://everythingshouldbevirtual.com](http://everythingshouldbevirtual.com)
> NOTE: Repo has been created/updated using [https://github.com/mrlesmithjr/cookiecutter-ansible-role](https://github.com/mrlesmithjr/cookiecutter-ansible-role) as a template.