homelab-codex-ws/scripts/deploy
oskar ae739b5037 fix(deploy-node): resolve HOST_DIR via os_hostname lookup, not bare hostname
Replaces the brittle `hosts/$(hostname|lower)` assumption with a scan
of hosts/*/host.yaml for a matching os_hostname field. This fixes VPS
where the OS hostname (ubuntu-4gb-hel1-1) never matched the repo
directory (hosts/vps/), causing a silent "No services found" false-green.

Fallback to lowercase-hostname dir preserved for nodes that haven't yet
received the os_hostname field; exits 1 with a clear message if neither
match nor fallback directory exists.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 22:24:40 +02:00
..
deploy-control-plane.sh Fix control plane SSH deploy TTY 2026-05-18 21:41:47 +02:00
deploy-frigate.sh fix: remove --pull always flag incompatible with docker-compose v1 2026-05-21 22:07:49 +02:00
deploy-host.sh Initial homelab workspace structure 2026-05-07 20:17:27 +02:00
deploy-node.sh fix(deploy-node): resolve HOST_DIR via os_hostname lookup, not bare hostname 2026-06-24 22:24:40 +02:00
deploy-role.sh Initial homelab workspace structure 2026-05-07 20:17:27 +02:00
deploy-stability-agent.sh Fix stability agent fleet deploy scripts 2026-05-17 21:09:06 +02:00
deploy.sh feat(deploy): Saturn-side dispatcher wrapper 2026-06-03 16:06:36 +02:00
orchestrate-deploy.sh fix(deploy): inventory-aware orchestration and correct override paths 2026-05-20 14:50:01 +02:00
update-all.sh Initial homelab workspace structure 2026-05-07 20:17:27 +02:00
verify-agent-fleet.sh Fix agent fleet verification via Redis container 2026-05-17 23:00:51 +02:00