Haproxy is a fast, free and reliable open-source software that provides a high availability load balancer for TCP and HTTP-based applications distributed over multiple servers.
Haproxy - https://www.haproxy.org/
Image credits: serverlab.ca
What is Ansible?
What are Ansible Roles?
Haproxy on RedHat
Haproxy Role for RedHat - https://github.com/RajitPaul11/Ansible-Roles/tree/master/haproxylb_role
Haproxy on AWS
Haproxy Role for AWS - https://github.com/RajitPaul11/Ansible-Roles/tree/master/haproxyaws_role