diff --git a/handlers/main.yml b/handlers/main.yml index 3331855a22f4087d7aa0d91253740b97612c7566..e5e95d38d0ed1f58d8332edfd297b296532acfee 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 5bef2d636455f50f4a0f8dd715d37331e653e79e..7a6f7f4a0e0ad51601bcf32cb2c9d07371302240 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