This is the code repository for Mastering Ansible - Fourth Edition , published by Packt.
Automate configuration management and overcome deployment challenges with Ansible
Ansible is a modern, YAML-based automation tool (built on top of Python, one of the world's most popular programming languages) with a massive and ever-growing user base. Its popularity and Python underpinnings make it essential learning for all in the DevOps space.
This book covers the following exciting features:
- Gain an in-depth understanding of how Ansible works under the hood
- Get to grips with Ansible collections and how they are changing and shaping the future of Ansible
- Fully automate the Ansible playbook executions with encrypted data
- Use blocks to construct failure recovery or cleanup
- Explore the playbook debugger and Ansible console
- Troubleshoot unexpected behavior effectively
- Work with cloud infrastructure providers and container systems
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
---plugin: amazon.aws.aws_ec2boto_profile: default
Following is what you need for this book: If you are an Ansible developer or operator who has a detailed understanding of its core elements and applications but are now looking to enhance your skills in applying automation using Ansible, this book is for you. Prior experience working with core system administration tasks on Linux and basic familiarity with concepts such as cloud computing, containers, network devices, and fundamentals of a high-level programming language will help you make the most of this book.
With the following software and hardware list you can run all code files present in the book (Chapter 1-13).
Chapter | Software required | OS required |
---|---|---|
1-13 | Ansible 4.3 | Windows, Mac OS X, and Linux (Any) |
1-13 | Ubuntu Server 20.04 LTS | Windows, Mac OS X, and Linux (Any) |
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 following link to see the Code in Action:
James Freeman is an accomplished IT consultant with over 20 years' experience in the technology industry. He has more than 8 years of first-hand experience of solving real-world 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.