blumeops/CLAUDE.md
Erich Blume 6823b43745 Add ansible playbook for indri with prometheus and grafana roles
- Inventory with tailnet hosts (indri, gilbert, sifaka)
- Prometheus role: installs via homebrew, templates config from current indri setup
- Grafana role: installs via homebrew, starts service
- ansible.cfg and requirements.yml for community.general collection
- Updated CLAUDE.md with ansible dry-run instructions

Tested: ansible-playbook playbooks/indri.yml --check --diff (all ok)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 21:12:24 -08:00

40 lines
1.2 KiB
Markdown

# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Project Overview
blumeops is Erich Blume's GitOps repository for personal infrastructure management, orchestrated via tailnet `tail8d86e.ts.net`.
## Documentation
Project documentation lives in the zettelkasten at `~/code/personal/zk`. Start with the project card: [1767747119-YCPO.md](~/code/personal/zk/1767747119-YCPO.md).
You are encouraged to explore the zk, follow links, and propose updates to it as the project evolves.
## Tool Preferences
1. **mise** - preferred for tool/runtime management (check first)
2. **homebrew** - for system packages
### Service Management
- **Homebrew services**: `brew services start|stop|restart <service>`
- **Non-homebrew services**: use `mcquack` (LaunchAgent manager for macOS)
## Ansible
Run playbooks from the `ansible/` directory.
```bash
# Install collection dependencies
ansible-galaxy collection install -r requirements.yml
# Dry-run before committing changes
ansible-playbook playbooks/indri.yml --check --diff
# Apply changes
ansible-playbook playbooks/indri.yml
```
**Always dry-run (`--check --diff`) ansible changes before committing.**