diff --git a/roles/ai3-prober/templates/blackbox.yml.j2 b/roles/ai3-prober/templates/blackbox.yml.j2 index 71cf1fb2d4686e7fa96182aa50f1b9d1d1b6b9c0..960789a03e920febd5fbb87e0c9de44bca6b228f 100644 --- a/roles/ai3-prober/templates/blackbox.yml.j2 +++ b/roles/ai3-prober/templates/blackbox.yml.j2 @@ -29,15 +29,28 @@ modules: prober: http timeout: 5s http: - valid_status_codes: [200, 301, 302, 307] + valid_status_codes: [200, 301, 302, 307, 401] method: GET fail_if_ssl: false fail_if_not_ssl: true preferred_ip_protocol: ip4 + no_follow_redirects: true tls_config: ca_file: /etc/ssl/certs/ca-certificates.crt insecure_skip_verify: false + # Generic (enforced) http + http: + prober: http + timeout: 5s + http: + valid_status_codes: [200, 301, 302, 307] + method: GET + fail_if_ssl: true + fail_if_not_ssl: false + preferred_ip_protocol: ip4 + no_follow_redirects: true + # Standard protocol-oriented probes. imap_starttls: prober: tcp