Learn the concepts and develop the skills to be a true Ansible artist and use it inside and outside the box. This book applies key concepts immediately while building up your Ansible skills layer by layer through easy to grasp examples and engaging projects. You’ll also think about security, why testing is important, and how to use version control safely.
As a beginner to Ansible, you’ll be guided step-by-step through creating your first Ansible playbook to deploying your first server and writing more complex cross-dependency playbooks. From the first line of code to the last, you’ll constantly iterate and simplify your playbooks, iwhile taking on more complex topics as you construct a full WordPress website stack consisting of a database, web servers, and load balancer. This book will prompt you to think about how these fit together and will explain what to do to ensure maintainability long into the future.
Don’t just use Ansible. Completely change how you go about provisioning, configuring, and managing servers, applications, and their dependencies with this powerful, open source automation tool. In exchange for this power and efficiency, Ansible demands a very different way of thinking about resources and how they all fit together. This can be hard to get your head around if you’ve never done it before. Every step of the way, Beginning Ansible Concepts and Application show you best practices so that you can confidently start using Ansible right away.
What You’ll Learn
- Set up an Ansible environment
- Create and run playbooks
- Organize groups of variables, vaults, roles, and tasks to ensure your playbooks are scalable
- Protect secrets using Ansible Vaults
- Automate the build of a WordPress website