All Projects → geerlingguy → Ansible Role Haproxy

geerlingguy / Ansible Role Haproxy

Licence: mit
Ansible Role - HAProxy

Projects that are alternatives of or similar to Ansible Role Haproxy

Haproxy
HAProxy Load Balancer's development branch (mirror of git.haproxy.org)
Stars: ✭ 2,463 (+2099.11%)
Mutual labels:  proxy, reverse-proxy, load-balancer, haproxy
Nuster
A high performance HTTP proxy cache server and RESTful NoSQL cache server based on HAProxy
Stars: ✭ 1,825 (+1529.46%)
Mutual labels:  proxy, reverse-proxy, load-balancer, haproxy
HAProxy-2-RPM-builder
Build latest HAProxy binary with prometheus metrics support
Stars: ✭ 28 (-75%)
Mutual labels:  load-balancer, reverse-proxy, haproxy
Ansible Role Memcached
Ansible Role - Memcached
Stars: ✭ 54 (-51.79%)
Mutual labels:  ansible, role, performance
Ansible Role Nginx
Ansible Role - Nginx
Stars: ✭ 632 (+464.29%)
Mutual labels:  ansible, role, webserver
Ansible Role Apache
Ansible Role - Apache 2.x.
Stars: ✭ 341 (+204.46%)
Mutual labels:  ansible, role, webserver
Multitor
Create multiple TOR instances with a load-balancing.
Stars: ✭ 624 (+457.14%)
Mutual labels:  proxy, load-balancer, haproxy
Ansible Role Htpasswd
Ansible Role - htpasswd
Stars: ✭ 17 (-84.82%)
Mutual labels:  ansible, role, webserver
Ansible Role Ruby
Ansible Role - Ruby
Stars: ✭ 77 (-31.25%)
Mutual labels:  ansible, role
Ansible Haproxy
Ansible role to set up (the latest version of) HAProxy in Ubuntu systems
Stars: ✭ 83 (-25.89%)
Mutual labels:  ansible, haproxy
Contentajs
A nodejs server that proxies to Contenta CMS and holds custom code.
Stars: ✭ 90 (-19.64%)
Mutual labels:  proxy, performance
Tcptunnel
将本地内网服务器映射到公网。
Stars: ✭ 72 (-35.71%)
Mutual labels:  proxy, reverse-proxy
Infrared
An ultra lightweight minecraft reverse proxy and idle placeholder
Stars: ✭ 59 (-47.32%)
Mutual labels:  proxy, reverse-proxy
Docker Cloud Platform
使用Docker构建云平台,Docker云平台系列共三讲,Docker基础、Docker进阶、基于Docker的云平台方案。OpenStack+Docker+RestAPI+OAuth/HMAC+RabbitMQ/ZMQ+OpenResty/HAProxy/Nginx/APIGateway+Bootstrap/AngularJS+Ansible+K8S/Mesos/Marathon构建/探索微服务最佳实践。
Stars: ✭ 86 (-23.21%)
Mutual labels:  ansible, haproxy
Aws Securitygroup Grapher
This ansible role gets information from an AWS VPC and generate a graphical representation of security groups
Stars: ✭ 93 (-16.96%)
Mutual labels:  ansible, role
Trickster
Open Source HTTP Reverse Proxy Cache and Time Series Dashboard Accelerator
Stars: ✭ 1,306 (+1066.07%)
Mutual labels:  reverse-proxy, performance
Noginx
High performance HTTP and reverse proxy server based on Node.js. 基于 Node.js 的高性能 HTTP 及反向代理服务器,类似nginx。
Stars: ✭ 53 (-52.68%)
Mutual labels:  proxy, reverse-proxy
Proxy.py
⚡⚡⚡Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging
Stars: ✭ 1,291 (+1052.68%)
Mutual labels:  proxy, webserver
Reverse proxy plug
🔛 an Elixir reverse proxy Plug with HTTP/2, chunked transfer and path proxying support
Stars: ✭ 112 (+0%)
Mutual labels:  proxy, reverse-proxy
Sidedoor
SSH connection daemon for Debian/Raspbian/Ubuntu/etc
Stars: ✭ 97 (-13.39%)
Mutual labels:  proxy, reverse-proxy

Ansible Role: HAProxy

CI

Installs HAProxy on RedHat/CentOS and Debian/Ubuntu Linux servers.

Note: This role officially supports HAProxy versions 1.4 or 1.5. Future versions may require some rework.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

haproxy_socket: /var/lib/haproxy/stats

The socket through which HAProxy can communicate (for admin purposes or statistics). To disable/remove this directive, set haproxy_socket: '' (an empty string).

haproxy_chroot: /var/lib/haproxy

The jail directory where chroot() will be performed before dropping privileges. To disable/remove this directive, set haproxy_chroot: '' (an empty string). Only change this if you know what you're doing!

haproxy_user: haproxy
haproxy_group: haproxy

The user and group under which HAProxy should run. Only change this if you know what you're doing!

haproxy_frontend_name: 'hafrontend'
haproxy_frontend_bind_address: '*'
haproxy_frontend_port: 80
haproxy_frontend_mode: 'http'

HAProxy frontend configuration directives.

haproxy_backend_name: 'habackend'
haproxy_backend_mode: 'http'
haproxy_backend_balance_method: 'roundrobin'
haproxy_backend_httpchk: 'HEAD / HTTP/1.1\r\nHost:localhost'

HAProxy backend configuration directives.

haproxy_backend_servers:
  - name: app1
    address: 192.168.0.1:80
  - name: app2
    address: 192.168.0.2:80

A list of backend servers (name and address) to which HAProxy will distribute requests.

haproxy_global_vars:
  - 'ssl-default-bind-ciphers ABCD+KLMJ:...'
  - 'ssl-default-bind-options no-sslv3'

A list of extra global variables to add to the global configuration section inside haproxy.cfg.

Dependencies

None.

Example Playbook

- hosts: balancer
  sudo: yes
  roles:
    - { role: geerlingguy.haproxy }

License

MIT / BSD

Author Information

This role was created in 2015 by Jeff Geerling, author of Ansible for DevOps.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].