Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of Error Handling in Deployment Playbook #551

Open
sudarshnamv opened this issue Apr 19, 2023 · 0 comments
Open

Lack of Error Handling in Deployment Playbook #551

sudarshnamv opened this issue Apr 19, 2023 · 0 comments

Comments

@sudarshnamv
Copy link

Issue/Feature Description:
The playbook does not define any error handling or fallback mechanisms if any of the tasks fail during deployment. This may lead to incomplete or inconsistent deployment if any of the tasks fail. (anisible/site.yml)

Why to fix this issue / feature is needed(give scenarios or use cases):
The deployment playbook is executed by different teams in different environments, such as development, testing, and staging. If a task fails during deployment in any of these environments, the playbook needs to provide a way to debug the issue and retry the failed task without restarting the entire deployment process.

How to reproduce, in case of a bug:
Run the deployment playbook
Introduce an intentional failure in one of the tasks, such as a syntax error in a configuration file
Observe the output of the playbook and verify that the deployment did not complete successfully
Check the deployed application to confirm that it is incomplete or inconsistent due to the failed task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant