Sanitized mirror from private repository - 2026-04-06 01:59:54 UTC
This commit is contained in:
11
docs/advanced/ansible/scripts/run_healthcheck.sh
Executable file
11
docs/advanced/ansible/scripts/run_healthcheck.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
# update from git (ignore if local changes)
|
||||
git pull --rebase --autostash || true
|
||||
|
||||
# run playbook and save logs
|
||||
mkdir -p logs
|
||||
ts="$(date +%F_%H-%M-%S)"
|
||||
ansible-playbook playbooks/tailscale_health.yml | tee logs/tailscale_health_${ts}.log
|
||||
Reference in New Issue
Block a user