Add stackctl for running stacks by hand on a host
lint / yamllint + ansible-lint + syntax (push) Successful in 56s
lint / shellcheck (push) Successful in 7s
lint / secret scan (push) Successful in 2s

One shared script installed into /srv/stacks on every host, with per-host
groups in server/<host>/stack-groups. Tested in check.sh. Also two new
common mistakes in the adding-a-stack skill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Winther
2026-10-03 17:49:12 +02:00
co-authored by Claude Opus 5.5
parent d28494d21f
commit 35b1378080
14 changed files with 442 additions and 4 deletions
+12
View File
@@ -0,0 +1,12 @@
# Groups for stackctl on app. Format and reserved names: see the same file in
# server/edge/.
#
# OpenBao starts first because the stacks that use stack_secrets read it during a
# deploy, and it needs confirming before down or restart: restarting it seals it.
order: openbao
confirm: openbao
system: openbao
apps: static-site webapp webapp-staging
monitoring: metrics