[P3] fresh_install.yml runs full dist-upgrade — risky if run against existing machines #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Problem
The playbook runs a full distribution upgrade as part of fresh install. If accidentally run against a production host (e.g., a Prod server mistakenly in the target group), it can upgrade the OS while services are running.
Fix
Add a safety guard that aborts if Docker containers are already running:
Or split the dist-upgrade step into its own dedicated playbook.
File:
playbooks/fresh_install.yml