This repository contains examples written to illustrate Testing Ansible, a book on producing and maintaining quality Ansible orchestration by David Norman.
Some of the playbooks and examples intentionally sneer at the formatting guidelines which have become commonplace for standardizing Ansible configuration. These examples presume some prior knowledge and experience with Ansible. For an introduction to the basics of Ansible, its capabilities, and other instruction for beginners, start with Ansible for DevOps by Jeff Geerling.
ansible_managed
: An example of how to use theansible_managed
magic variable to remind sysadmins which files are managed by Ansible.
hello-world
: A starter playbook to break a lot of formatting standards.
Submit your improvements and errata to the GitHub issue queue.
You are free to copy, modify, and distribute these Ansible examples with attribution under the terms of the BSD-3-Clause license. See the LICENSE file for details.
This project was created by David Norman as an example for Testing Ansible.