boma/.claude/commands/deploy.md

13 lines
472 B
Markdown
Raw Normal View History

# 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