This is the code repository for Mastering Ansible - Third Edition, published by Packt.
Effectively automate configuration management and deployment challenges with Ansible 2.7
Automation is essential for success in the modern world of DevOps. Ansible provides a simple, yet powerful, automation engine for tackling complex automation challenges.
This book covers the following exciting features:
- Gain an in-depth understanding of how Ansible works under the hood
- Fully automate Ansible playbook executions with encrypted data
- Access and manipulate variable data within playbooks
- Use blocks to perform failure recovery or cleanup
- Explore the Playbook debugger and the Ansible Console
- Troubleshoot unexpected behavior effectively
- Work with cloud infrastructure providers and container systems
- Develop custom modules, plugins, and dynamic inventory sources
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter01.
The code will look like the following:
#!/bin/sh
echo "a long password"
Following is what you need for this book: This book is for Ansible developers and operators who have an understanding of its core elements and applications but are now looking to enhance their skills in applying automation using Ansible.
With the following software and hardware list you can run all code files present in the book (Chapter 1-12).
Chapter | Software required | OS required |
---|---|---|
All | Ansible 2.7.5 | CentOS 7+, Ubuntu 16.04+ |
3 | Windows 10 | N/A |
3 | Windows Server 2016/2019 | N/A |
4 | AWX | CentOS 7/RHEL7 |
11 | OpenStack (devstack) | Tested on Ubuntu 16.04 |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Click on the following link to see the Code in Action: http://bit.ly/2HCcfRE
- Page 10: The screenshot for the command ansible-playbook --version is incorrect. The correct screenshot is shown below:
James Freeman is an accomplished IT consultant with over 20 years' experience in the technology industry. He has more than 5 years of first-hand experience of solving realworld enterprise problems in production environments using Ansible, frequently introducing Ansible as a new technology to businesses and CTOs for the first time. In addition, he has authored and facilitated bespoke Ansible workshops and training sessions, and has presented at both international conferences and meetups on Ansible.
Jesse Keating is an accomplished Ansible user, contributor, and presenter. He has been an active member of the Linux and open source community for over 15 years. He has firsthand experience involving a variety of IT activities, software development, and large-scale system administration. He has presented at numerous conferences and meetups, and has written many articles on a variety of topics.
Mastering Ansible - Second Edition
Click here if you have any feedback or suggestions.