7 lines
203 B
Plaintext
7 lines
203 B
Plaintext
|
#!/bin/sh
|
||
|
# This healthcheck script is designed to return OK when every
|
||
|
# host involved returns OK
|
||
|
{%- for healthcheck_url in healthcheck_urls %}
|
||
|
curl -fSs {{ healthcheck_url }} || exit 1
|
||
|
{%- endfor %}
|