collection of ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

8 lines
249 B

apply Service "Haproxy Backends" {
import "generic-service"
check_command = "haproxy.pl"
vars += host.vars.backends
vars.haproxy_url = "https://" + host.name + ":" + vars.haproxy_port + "/csv"
assign where host.vars.os == "haproxy"
}