"If you shut the door to all errors, truth will be shut out."
|-- Rabindranath Tagore|
The quote here applies to everything in life and not just infrastructure! However, since we're going to continue talking about infrastructure with a key focus on error handling, rollback, and alerting in this chapter, we thought we'd start the chapter on a philosophical note.
So far, we've seen how to write production-ready Ansible playbooks from a configuration management perspective and test the same to overcome any failure. Any time you write code, it's important to think of error handling, logging, alerting, and reporting and if it's based on infrastructure, it becomes even more important. Error handling ...