From bd054308b0b2f21f82c2b7a6a18afeca13a04471 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Sun, 6 Mar 2016 20:12:50 +0100 Subject: [PATCH] General improvements --- handlers/main.yml | 2 -- templates/haproxy_cfg | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index 3331855..e5e95d3 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -4,7 +4,5 @@ - name: "Proxy | Restart HAProxy" service: name={{item.name}} state={{item.state}} with_items: - - name: apache2 - state: stopped - name: haproxy state: restarted diff --git a/templates/haproxy_cfg b/templates/haproxy_cfg index 5bef2d6..7a6f7f4 100644 --- a/templates/haproxy_cfg +++ b/templates/haproxy_cfg @@ -34,7 +34,8 @@ defaults maxconn 1000 default_backend {{proxy_default_backend}} -listen stats 127.0.0.1:7000 +listen stats + bind 127.0.0.1:7000 mode http stats enable stats admin if TRUE -- GitLab