Among the many configuration management tools available, Ansible has some distinct advantages—it’s minimal in nature, you don’t need to install anything on your nodes, and it has an easy learning curve. With this updated second edition, you’ll learn how to be productive with this tool quickly, whether you’re a developer deploying code to production or a system administrator looking for a better automation solution.
Authors Lorin Hochstein and René Moser show you how to write playbooks (Ansible’s configuration management scripts), manage remote servers, and explore the tool’s real power: built-in declarative modules. You’ll discover that Ansible has the functionality you need—and the simplicity you desire.
Manage Windows machines, and automate network device configurationManage your fleet from your web browser with Ansible TowerUnderstand how Ansible differs from other configuration management systemsUse the YAML file format to write your own playbooksWork with a complete example to deploy a non-trivial applicationDeploy applications to Amazon EC2 and other cloud platformsCreate Docker images and deploy Docker containers with Ansible
This book is best read start to finish, with later chapters building on earlier ones. Because it’s written in a tutorial style, you can follow along on your own machine. Most examples focus on web applications.