[P2] Silent failures in deploy/disaster/redeploy — ignore_errors everywhere with no assertions #3
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
Three tasks in a row suppress all errors:
docker compose up -d→ignore_errors: trueignore_errors: true(registerscontainer_statusbut never asserts on it)Deployments can silently fail while the playbook reports green. You only find out when a service is unreachable.
Fix
Replace the status check with a real assertion:
Files:
playbooks/deploy.yml,playbooks/disaster.yml,playbooks/redeploy.yml