Add some defaults and fix the swarm manager check
This commit is contained in:
parent
4fafd7662d
commit
61e617a764
|
@ -30,8 +30,16 @@ haproxy_nagios_check: False
|
|||
haproxy_nagios_check_w: 70
|
||||
haproxy_nagios_check_c: 90
|
||||
|
||||
haproxy_check_interval: 3s
|
||||
# Used by some other role as defaults, eg docker-swarm
|
||||
haproxy_spread_checks: 5
|
||||
haproxy_connect_timeout: 10s
|
||||
haproxy_client_timeout: 120s
|
||||
haproxy_server_timeout: 480s
|
||||
haproxy_global_keepalive_timeout: 10s
|
||||
haproxy_client_keepalive_timeout: 5184000s
|
||||
haproxy_backend_maxconn: 2048
|
||||
haproxy_check_interval: 3s
|
||||
haproxy_check_timeout: 2s
|
||||
|
||||
haproxy_sysctl_conntrack_max: 131072
|
||||
|
||||
|
|
|
@ -12,5 +12,5 @@
|
|||
recreate: smart
|
||||
run_once: True
|
||||
|
||||
when: docker_swarm_manager_main_node is defined and docker_swarm_manager_main_node
|
||||
when: docker_swarm_manager_main_node is defined and docker_swarm_manager_main_node | bool
|
||||
tags: [ 'haproxy', 'docker_haproxy', 'docker_swarm', 'docker' ]
|
||||
|
|
Loading…
Reference in New Issue