Merge "Adds parameter to configure HAProxy defaults balance"
This commit is contained in:
commit
1b55a093dc
@ -39,6 +39,9 @@ haproxy_image_full: "{{ haproxy_image }}:{{ haproxy_tag }}"
|
||||
haproxy_client_timeout: "1m"
|
||||
haproxy_server_timeout: "1m"
|
||||
|
||||
# Check http://www.haproxy.org/download/1.5/doc/configuration.txt for available options
|
||||
haproxy_defaults_balance: "roundrobin"
|
||||
|
||||
haproxy_glance_api_client_timeout: "6h"
|
||||
haproxy_glance_api_server_timeout: "6h"
|
||||
|
||||
|
@ -33,6 +33,7 @@ defaults
|
||||
timeout client {{ haproxy_client_timeout }}
|
||||
timeout server {{ haproxy_server_timeout }}
|
||||
timeout check 10s
|
||||
balance {{ haproxy_defaults_balance }}
|
||||
|
||||
listen stats
|
||||
bind {{ api_interface_address }}:{{ haproxy_stats_port }}
|
||||
|
Loading…
Reference in New Issue
Block a user