678 B
678 B
Architecture (canonical doc moved)
The canonical architecture document is now:
project-docs/architecture.md
This docs/reference/architecture.md file is kept as a pointer to avoid maintaining two competing sources of truth.
Best Practices
Code Organization
- One role = one responsibility
- Idempotent tasks
- Proper handler usage
- Template for configuration
- Defaults for flexibility
Security
- Vault for all secrets
- Least privilege principle
- Regular updates
- Audit logging
- Network segmentation
Operations
- Test in check mode
- Use tags for selective runs
- Document changes
- Version control everything
- Monitor and alert