haproxy: fix issue with non iad2 proxies

Turns out zabbix is only in iad2, so we need to not set it up on non
iad2 proxies.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-11-15 11:14:27 -08:00
parent a60ca7159f
commit af8f9531a9

View file

@ -478,6 +478,7 @@ backend fedmsg-raw-zmq-inbound-backend
timeout connect 86400000
server busgateway01 busgateway01:9941 weight 1 maxconn 16384
{% if 'iad2' in inventory_hostname %}
frontend zabbix-frontend
bind 0.0.0.0:10068
default_backend zabbix-backend
@ -485,4 +486,4 @@ frontend zabbix-frontend
backend zabbix-backend
balance hdr(appserver)
server zabbix01 zabbix01:80 check inter 10s rise 1 fall 2
{% endif %}