ansible/project-docs/decisions.md
ilia 3415340e26
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m18s
CI / lint-and-test (pull_request) Successful in 1m21s
CI / ansible-validation (pull_request) Successful in 2m43s
CI / secret-scanning (pull_request) Successful in 1m19s
CI / dependency-scan (pull_request) Successful in 1m23s
CI / sast-scan (pull_request) Successful in 2m28s
CI / license-check (pull_request) Successful in 1m20s
CI / vault-check (pull_request) Successful in 2m21s
CI / playbook-test (pull_request) Successful in 2m19s
CI / container-scan (pull_request) Successful in 1m48s
CI / sonar-analysis (pull_request) Successful in 1m26s
CI / workflow-summary (pull_request) Successful in 1m17s
Refactor playbooks: servers/workstations, split monitoring, improve shell
2025-12-31 23:13:03 -05:00

1.6 KiB
Raw Blame History

Decisions (ADR-style)

2025-12-31 — Do not manage IDE/editor installs in Ansible

  • Context: IDEs/editors are interactive, fast-moving, and often user-preference-driven.
  • Decision: Keep editor installation (Cursor, VS Code, etc.) out of Ansible roles/playbooks.
  • Consequences:
    • Faster, more stable provisioning runs
    • Less drift caused by UI tooling changes
    • Editor setup is handled separately (manual or via dedicated tooling)

2025-12-31 — Split monitoring into server vs workstation roles

  • Context: Servers and workstations have different needs (e.g., fail2ban/sysstat are server-centric; wireshark-common is workstation-centric).
  • Decision: Create monitoring_server and monitoring_desktop roles and wire them into servers.yml / workstation playbooks.
  • Consequences:
    • Smaller install footprint on servers
    • Clearer intent and faster runs

2025-12-31 — Desktop applications are installed only on the desktop group

  • Context: Desktop apps should not be installed on headless servers or dev VMs by default.
  • Decision: Run role: applications only in a desktop-scoped play (workstations playbook).
  • Consequences:
    • Reduced unnecessary package installs
    • Less attack surface and fewer updates on non-desktop hosts

2025-12-31 — Minimal shell role (aliases-only)

  • Context: Oh-my-zsh/theme/plugin cloning is slow and overwriting .zshrc is risky.
  • Decision: role: shell now manages a small alias file and ensures its sourced; it does not overwrite .zshrc.
  • Consequences:
    • Much faster shell configuration
    • Safer for servers and multi-user systems