Use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasksAbout This Book Use Ansible to automate your infrastructure effectively, with minimal effort Customize and consolidate your configuration management tools with the secure and highly-reliable features of Ansible Unleash the abilities of Ansible and extend the functionality of your mainframe system through the use of powerful, real-world examples Who This Book Is ForIf you want to learn how to use Ansible to automate an infrastructure, either from scratch or to augment your current tooling with Ansible, then this is the book for you. It has plenty of practical examples to help you get to grips with Ansible.
What You Will Learn
Set up and write basic playbooks, with more focus on configuration management
Develop and test Ansible playbooks
Use Ansible to handle errors, add callbacks, and rollback playbooks
Write custom modules and test them
Use Ansible modules to provision servers on various clouds
Deploy and orchestrate your Ansible infrastructure
In DetailAutomation 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.
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.
The Learning Ansible book explains from first principles to the very rich capabilities of building packaging software, instantiating cloud servers or containers through to configuring systems and deploying applications into new environments; and then capturing instantiated system details into the Ansible inventory. How Ansible compares with the more established solutions in this space in the form of Puppet and Chef is discussed, and the pros and cons of the different tools. All the way through, the books has been written in an easy engaging manner. You might even say wonderfully written. The examples are very good with the possible exception of 2 cases (just merely good in my opinion), the examples are supported with very clear explanations that demonstrate the power of the Ansible product. Even if you choose not to use Ansible, this book does an excellent job of showing the value of not resorting to the ‘black art’ of system build and configuration and suggesting good ways to realising automation of this kind of activity, in many place undoubtedly thought provoking.
Before reading this book I never used Ansible before and I have to say I've enjoyed, the book covers a wide variety of Anslbe related topics. From a very basic stage restarting services and installing packages, to more complex topics like orchestration and testing.
I cannot say it goes deep in all of them but it's enough to keep you going and get a good understanding on how Ansible works and in a fun way, which is practical examples which can be used to get your hands dirty ;-)
The only thing I didn't like was that I found too much console output on the book for my taste, but other than that I would recommend the book to anyone wanting to get started with Ansible!.
If you're not (yet) familiar with Ansible or you just started your Ansible journey, this book is a great startup. You'll start your journey with great example playbooks to teach you the basics. You can setup your own environment and compare results with the output from the book, and learn how to use Ansible and how to tune it. I can recommend this book to anyone who is interested in learning Ansible.
This is a very good book, it brings nicely the reader from Ansible basics to more advanced topics. For a reader like me, familiar with configuration management tools, but not with Ansible, the contents have been interesting and mostly new. For Ansible experts it might lack some depth and for absolute beginners it might skip some basic explanations. Overall a recommended reading.