Book Image

Learning Ansible

By : Madhurranjan Mohaan, Ramesh Raithatha
Book Image

Learning Ansible

By: Madhurranjan Mohaan, Ramesh Raithatha

Overview of this book

<p>Automation includes provisioning new servers, making sure the servers adhere to their role and maintain the desired state from a configuration perspective, and orchestrating various actions across environments and deploying code as expected to all these servers. This is where Ansible steps in. It is secure, highly reliable, and minimalistic in nature. It automates configuration management, application deployment, and many other IT needs.</p> <p>Learning Ansible will equip you with the necessary skills to automate/improve your infrastructure from a configuration management perspective. You will also be able to use Ansible for one-click deployments, provisioning, and orchestrating your infrastructure.</p>
Table of Contents (16 chapters)
Learning Ansible
Credits
About the Authors
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


With this, we come to the end of this chapter where we've seen how to handle errors using rollbacks, how to use callbacks in general, and how to report and alert using tasks as well as callbacks. Along the way, we've also seen other tools such as etcd, MySQL database, HipChat, E-mail, Nagios, and Graphite, and how to integrate Ansible with them. These are definitely some common as well as easy implementations that provide great value to Ansible users. Finally, it's very important that you have a strong feedback loop in your infrastructure and you've seen a few of those techniques in action in this chapter.

It's also time for a coffee break. As usual, we have a few questions for you to ponder over and discuss with your team as follows:

  • What monitoring system do you have and what features from this chapter would benefit you the most?

  • If you use callbacks, what would you want your callbacks to do?

  • If you want to alert, about what would you alert?

We hope that you’ll revisit the roles that...