Files
infra-automation/TODO.md
ansible 4e28d1633a Update git authentication and documentation
- Created ed25519 SSH key for git operations (secrets/ssh/ansible)
- Configured git to use SSH key authentication with IdentitiesOnly
- Recreated Gitea repository with proper SSH access (ID: 29)
- Added SSH agent auto-initialization script (.ssh-agent-init)
- Created comprehensive git SSH setup documentation
- Updated TODO.md to reflect resolved git push issues
- All git operations now use SSH key authentication

SSH Key Details:
- Passphrase: Documented in secrets/ssh/README.md
- Fingerprint: SHA256:mkgq5V567C/CJas9nbP16kNzzVqs7z7k2X90qdP0QXE
- Auto-load: source /opt/ansible/.ssh-agent-init

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 14:13:34 +01:00

4.3 KiB

TODO - Ansible Infrastructure Automation

Last Updated: 2025-11-11 Priority: CRITICAL = 🔥 | HIGH = ⚠️ | MEDIUM = 📋 | LOW = 💡


📊 Planning Documents Created

NEW: Comprehensive improvement planning completed!


This Week (Week 47) - COMPLETED

Focus: Critical Infrastructure Recovery & Security Audit Detailed Plan: See TASKS_WEEK_47.md Status: 9/13 tasks completed (69%), 4 blocked/deferred

🔥 Critical (P0)

  • BLOCKED - Recover derp VM - requires ansible user creation (deferred - low priority)
  • RESOLVED - Git push permission issue - SSH key created and configured
  • RESOLVED - Gitea repository recreated with proper SSH authentication
  • BLOCKED - Execute system info playbook on derp (blocked by derp access)

⚠️ High Priority (P1)

  • Install qemu-guest-agent on mymx - VERIFIED operational
  • BLOCKED - Configure swap on derp (blocked by derp access)
  • Create Docker security audit playbook - playbooks/audit_docker.yml
  • Execute Docker security audit on pihole - 2 MEDIUM, 1 LOW findings
  • Execute Docker security audit on mymx - 1 CRITICAL*, 1 HIGH*, 2 MEDIUM, 1 LOW
  • Update CHANGELOG.md with Week 46 improvements - version 0.2.0 released

📋 Medium Priority (P2)

  • Fix ansible-galaxy configuration error - removed automation_hub config
  • Stop derp VM and disable autostart
  • Create Docker security findings documentation - docs/security/docker-security-findings.md
  • Document derp recovery procedures in runbooks (not needed per user)
  • Weekly review and metrics update (not needed per user)
  • Create Week 48 task plan

Next 2 Weeks (Weeks 48-49)

⚠️ High Priority

  • Create separate inventories public repository
  • Implement automated compliance checking
  • Set up CI/CD pipeline (Gitea Actions/Jenkins)
  • Create backup procedures for critical VMs

📋 Medium Priority

  • Add production/staging inventory configurations
  • Create pre-commit hooks for quality checks
  • Docker security hardening implementation

Next Month (Dec 2025)

⚠️ High Priority

  • Create functional Molecule test scenarios
  • Implement common base system role
  • Create security_hardening role (CIS compliance)

📋 Medium Priority

  • Set up monitoring stack (Prometheus + Grafana)
  • Create disaster recovery automation
  • Implement HashiCorp Vault integration

💡 Low Priority

  • Create nginx/apache roles
  • Create postgresql/mysql roles
  • Publish collections to Ansible Galaxy

Known Issues

  1. derp VM stopped - Requires ansible user creation, deferred (low priority)
  2. Git push blocked - RESOLVED - SSH key created, repository recreated
  3. pihole LVM missing - Non-compliant with CLAUDE.md, migration needed
  4. QEMU agent channels - RESOLVED - mymx QEMU agent verified operational
  5. Molecule tests - Structure exists but not functional
  6. NEW: Docker security findings - See docs/security/docker-security-findings.md
    • mymx: 1 privileged container (justified - netfilter)
    • All containers: Missing resource limits
    • User namespace remapping needed

Quick Wins (< 30 min each)

  • Execute install_qemu_agent.yml on mymx
  • Create SSH key for git operations (secrets/ssh/ansible)
  • Configure git to use SSH key authentication
  • Recreate Gitea repository with proper permissions
  • Fix inventory group name sanitization
  • Add audit_docker.yml playbook
  • Create testing cheatsheet
  • Update role CHANGELOGs
  • Implement resource limits on pihole container
  • Pin pihole image to specific version

Next Review: Weekly (Mondays) Documents: