refactor-servers-workstations-shell-monitoring #4
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "refactor-servers-workstations-shell-monitoring"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR refactors the playbook layout to reduce duplication and make host intent clearer (servers vs workstations), splits monitoring by host type, and restores full Zsh setup for developers while keeping servers aliases-only.
Key changes
New playbooks
playbooks/servers.yml: baseline for server-class hosts (no desktop apps)playbooks/workstations.yml: baseline for dev/desktop/local + desktop apps only ondesktopgroupMonitoring split
roles/monitoring_server: server monitoring + intrusion prevention (includesfail2ban, sysstat)roles/monitoring_desktop: desktop-oriented monitoring toolingShell role: server-safe + developer-friendly
roles/shellnow supports two modes:shell_mode: minimal(default): aliases-only, does not overwrite.zshrcshell_mode: full: installs Oh My Zsh + Powerlevel10k + plugins and deploys a managed.zshrcplaybooks/development.ymlandplaybooks/workstations.ymluseshell_mode: fullplaybooks/servers.ymlremains aliases-onlyApplications
desktopgroup (viaworkstations.yml)applications_desktop_packages)Docs + architecture
project-docs/(overview/architecture/standards/workflow/decisions)docs/reference/architecture.mdis now a pointer toproject-docs/architecture.mddocs/Behavior changes (important)
desktopinventory group (not on servers, not on dev VMs unless they are indesktop)..zshrc+ p10k).How to test (local CI parity)
Optional dry runs (interactive sudo may be required):
Rollout guidance
make workstations HOST=<devhost>make servers HOST=<serverhost>3415340e26toa176dd2365