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.
 
 
 
 
ansible-roles/icinga2/files/services/http_services.conf

29 lines
675 B

apply Service "Zertifikat: " for ( vhost => config in host.vars.vhosts ) to Host {
import "generic-service"
check_command = "http"
vars.http_link = true
vars.http_certificate = 80
vars.http_sni = true
vars.http_address = host.address
vars += config
assign where host.vars.vhosts[vhost]["http_ssl"]
}
apply Service "HTTP(S): " for ( vhost => config in host.vars.vhosts ) to Host {
import "generic-service"
check_command = "http"
vars.http_link = true
vars += config
vars.http_address = host.address
assign where host.vars.vhosts[vhost]["http_uri"] || host.vars.vhosts[vhost]["http_string"] || host.vars.vhosts[vhost]["http_pagesize"]
}