Skip to content

Commit

Permalink
allow configuring healthcheck path
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 19, 2024
1 parent 3fb0ffa commit 7b1e26f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ansible/fastly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
ssl_cert_hostname: "{{ item.backend | default(item.service) }}.theforeman.org"
ssl_sni_hostname: "{{ item.backend | default(item.service) }}.theforeman.org"
override_host: "{{ item.backend | default(item.service) }}.theforeman.org"
healthcheck: HEADER.html
healthcheck: "{{ item.healthcheck | default('HEADER.html') }}"
healthchecks:
- name: HEADER.html
- name: "{{ item.healthcheck | default('HEADER.html') }}"
host: "{{ item.backend | default(item.service) }}.theforeman.org"
path: "/HEADER.html"
path: "/{{ item.healthcheck | default('HEADER.html') }}"
threshold: 1
timeout: 5000
window: 2
Expand Down

0 comments on commit 7b1e26f

Please sign in to comment.