# https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md # vim:ft=ansible: modules: http_2xx: prober: http timeout: 5s http: preferred_ip_protocol: "ip4" follow_redirects: true valid_http_versions: ["HTTP/1.1", "HTTP/2.0"] valid_status_codes: [] # Defaults to 2xx method: GET ssh_banner: prober: tcp timeout: 3s tcp: query_response: - expect: "^SSH-2.0-" - send: "SSH-2.0-blackbox-ssh-check"