Fix for haproxy

This commit is contained in:
Joe 2015-12-07 21:05:55 -05:00
parent b46971f053
commit 0201329526

View File

@ -57,7 +57,7 @@
- name : Check Controller haproxy max connections - name : Check Controller haproxy max connections
fail : fail :
msg: "Expecting {{ haproxy_max_connections }} connections, found {{ hostvars[item].haproxy_maxconn }}" msg: "Expecting {{ haproxy_max_connections }} connections, found {{ hostvars[item].haproxy_maxconn_result }}"
when: hostvars[item].haproxy_maxconn_result|int < haproxy_max_connections when: hostvars[item].haproxy_maxconn_result|int < haproxy_max_connections
with_items: groups['controller'] with_items: groups['controller']
ignore_errors: true ignore_errors: true