boma/.claude/commands/deploy.md
sjat 3f1d7eb128 Add core Ansible scaffold, tooling, and pre-commit guards
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 14:10:01 +02:00

12 lines
472 B
Markdown

# Run a playbook against production
Playbook: $ARGUMENTS
## Steps — do not skip any
1. Run `make lint` — stop and report if it fails
2. Run `make check PLAYBOOK=$ARGUMENTS` — show the full diff output
3. Summarise what will change (hosts affected, tasks that will run)
4. **Stop and ask for explicit confirmation before proceeding**
5. After confirmation: run `make deploy PLAYBOOK=$ARGUMENTS`
6. Report the result — highlight any failures or unreachable hosts