haproxy - The Reliable, High Performance TCP/HTTP Load Balancer
haproxy_user
(string) - User to run haproxy ashaproxy_group
(string) - Group to run haproxy ashaproxy_error_handling_enabled
(boolean) - Handle errors?haproxy_attack_mitigation_enabled
(boolean) - Aggressively favour resiliency over compatibility?haproxy_assumes_backend_is_dead_after
(integer) - If a backend has not accepted the connection in this long, it's probably dead.haproxy_runtime_root
(string) - Directory for runtime datahaproxy_pidfile_path
(string) - Path for pidfilehaproxy_stats_socket_path
(string) - Path for sockethaproxy_chroot_path
(string) - Directory haproxy should sandbox itself intohaproxy_standard_configuration
(boolean) - Use the config generators?haproxy_autodeploy_passthrough_enabled
(boolean) - Allow passthrough for automated deploymenthaproxy_stats_enabled
(boolean) - Enable statshaproxy_stats_uri
(string) - Context path for stats UIhaproxy_stats_user
(string) - Username for statshaproxy_stats_password
(string) - Password for statshaproxy_protocol
(string) - Protocol to usehaproxy_ssl_enabled
(boolean) - Enable SSL handling?haproxy_ssl_certificate_path
(string) - Path to SSL certificatehaproxy_ssl_ciphers
(list) - Ranked set of acceptable ciphershaproxy_ssl_should_degrade_security_to_accomodate_old_browsers
(boolean) - Compromise security to support older browsers?haproxy_ssl_redirect_http_to_https
(boolean) - Redirect HTTP to HTTPShaproxy_ssl_disable_sslv3
(boolean) - Disable SSLv3haproxy_perfect_forward_secrecy_enabled
(boolean) - Enable PFS?haproxy_load_balancer_enabled
(boolean) - Adjust backend names to accomodate ELBs from telusdigital.infrastructurehaproxy_standard_application
(boolean) - Is this a typical application?haproxy_backend_name
(string) - Name for the backend.haproxy_backend_server_port
(integer) - Port for backend.haproxy_frontend_port
(integer) - Port for frontend.haproxy_backend_server_direct
: "application{% if haproxy_load_balancer_enabled %}-direct{% endif %}.{{ *project
}}-{{ environment_tier }}.{{ domain }}{% if haproxy_ssl_enabled %}:{{ haproxy_backend_server_*port
}}{% endif %}"haproxy_backend_server_load_balancer
: "application.{{ project }}-{{ environment_tier }}.{{ domain }}{% *if
haproxy_ssl_enabled %}:{{ haproxy_backend_server_port }}{% endif %}"haproxy_backend_host_range_enabled
(boolean) - Use a range of IPshaproxy_backend_network
(string) - First three octets of a IP rangehaproxy_backend_host_range_start
(integer) - Beginning of rangehaproxy_backend_host_range_end
(integer) - End of rangehaproxy_restricted_paths
(list) - Paths to restrict access tohaproxy_allow_access_to_restricted_paths_from_ips
(list) - IPs to allow access to restricted paths
- hosts: servers
roles:
- role: telusdigital.haproxy
haproxy_backend_host_range_enabled: yes
haproxy_backend_network: 10.0.2
haproxy_backend_host_range_start: 20
haproxy_backend_host_range_end: 40
- Chris Olstrom | e-mail | Twitter
- Steven Harradine
- Aaron Pederson
- Ben Visser