Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
config
Commits
77a450a6
Commit
77a450a6
authored
2 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Set all ai3-prober timeouts to 10s
parent
083aec90
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/ai3-prober/defaults/main.yml
+4
-0
4 additions, 0 deletions
roles/ai3-prober/defaults/main.yml
roles/ai3-prober/templates/blackbox.yml.j2
+11
-11
11 additions, 11 deletions
roles/ai3-prober/templates/blackbox.yml.j2
with
15 additions
and
11 deletions
roles/ai3-prober/defaults/main.yml
0 → 100644
+
4
−
0
View file @
77a450a6
---
ai3_prober_timeout
:
"
10s"
This diff is collapsed.
Click to expand it.
roles/ai3-prober/templates/blackbox.yml.j2
+
11
−
11
View file @
77a450a6
...
@@ -5,7 +5,7 @@ modules:
...
@@ -5,7 +5,7 @@ modules:
{% for custom_probe in ai3_prober_http_probes | default([]) %}
{% for custom_probe in ai3_prober_http_probes | default([]) %}
{{ custom_probe.name }}:
{{ custom_probe.name }}:
prober: http
prober: http
timeout:
5s
timeout:
{{ ai3_prober_timeout }}
http:
http:
valid_status_codes: [200, 301, 302, 307]
valid_status_codes: [200, 301, 302, 307]
method: GET
method: GET
...
@@ -27,7 +27,7 @@ modules:
...
@@ -27,7 +27,7 @@ modules:
# Generic https probe, not bound to frontends and no SNI/vhost selection.
# Generic https probe, not bound to frontends and no SNI/vhost selection.
https:
https:
prober: http
prober: http
timeout:
5s
timeout:
{{ ai3_prober_timeout }}
http:
http:
valid_status_codes: [200, 301, 302, 307, 401]
valid_status_codes: [200, 301, 302, 307, 401]
method: GET
method: GET
...
@@ -42,7 +42,7 @@ modules:
...
@@ -42,7 +42,7 @@ modules:
# Generic (enforced) http
# Generic (enforced) http
http:
http:
prober: http
prober: http
timeout:
5s
timeout:
{{ ai3_prober_timeout }}
http:
http:
valid_status_codes: [200, 301, 302, 307]
valid_status_codes: [200, 301, 302, 307]
method: GET
method: GET
...
@@ -54,7 +54,7 @@ modules:
...
@@ -54,7 +54,7 @@ modules:
# Standard protocol-oriented probes.
# Standard protocol-oriented probes.
imap_starttls:
imap_starttls:
prober: tcp
prober: tcp
timeout:
5s
timeout:
{{ ai3_prober_timeout }}
tcp:
tcp:
preferred_ip_protocol: ip4
preferred_ip_protocol: ip4
query_response:
query_response:
...
@@ -69,7 +69,7 @@ modules:
...
@@ -69,7 +69,7 @@ modules:
imap_tls:
imap_tls:
prober: tcp
prober: tcp
timeout:
5s
timeout:
{{ ai3_prober_timeout }}
tcp:
tcp:
tls: true
tls: true
preferred_ip_protocol: ip4
preferred_ip_protocol: ip4
...
@@ -80,7 +80,7 @@ modules:
...
@@ -80,7 +80,7 @@ modules:
smtp_starttls:
smtp_starttls:
prober: tcp
prober: tcp
timeout:
5s
timeout:
{{ ai3_prober_timeout }}
tcp:
tcp:
preferred_ip_protocol: ip4
preferred_ip_protocol: ip4
query_response:
query_response:
...
@@ -98,7 +98,7 @@ modules:
...
@@ -98,7 +98,7 @@ modules:
smtp_tls:
smtp_tls:
prober: tcp
prober: tcp
timeout:
5s
timeout:
{{ ai3_prober_timeout }}
tcp:
tcp:
tls: true
tls: true
preferred_ip_protocol: ip4
preferred_ip_protocol: ip4
...
@@ -110,7 +110,7 @@ modules:
...
@@ -110,7 +110,7 @@ modules:
irc_tls:
irc_tls:
prober: tcp
prober: tcp
timeout:
5s
timeout:
{{ ai3_prober_timeout }}
tcp:
tcp:
tls: true
tls: true
preferred_ip_protocol: ip4
preferred_ip_protocol: ip4
...
@@ -122,7 +122,7 @@ modules:
...
@@ -122,7 +122,7 @@ modules:
{% set ip4_hosts = services['frontend'].hosts | map('extract', hostvars) | map(attribute='ips') | flatten | ansible.netcommon.ipv4 | list %}
{% set ip4_hosts = services['frontend'].hosts | map('extract', hostvars) | map(attribute='ips') | flatten | ansible.netcommon.ipv4 | list %}
dns_frontend_a:
dns_frontend_a:
prober: dns
prober: dns
timeout:
10s
timeout:
{{ ai3_prober_timeout }}
dns:
dns:
query_name: "autistici.org"
query_name: "autistici.org"
query_type: "A"
query_type: "A"
...
@@ -134,7 +134,7 @@ modules:
...
@@ -134,7 +134,7 @@ modules:
dns_accounts_cname:
dns_accounts_cname:
prober: dns
prober: dns
timeout:
10s
timeout:
{{ ai3_prober_timeout }}
dns:
dns:
query_name: "accounts.autistici.org"
query_name: "accounts.autistici.org"
query_type: "CNAME"
query_type: "CNAME"
...
@@ -148,7 +148,7 @@ modules:
...
@@ -148,7 +148,7 @@ modules:
{% if ip6_hosts %}
{% if ip6_hosts %}
dns_frontend_aaaa:
dns_frontend_aaaa:
prober: dns
prober: dns
timeout:
10s
timeout:
{{ ai3_prober_timeout }}
dns:
dns:
query_name: "autistici.org"
query_name: "autistici.org"
query_type: "AAAA"
query_type: "AAAA"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment