Skip to content

deekayen/testing-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing Ansible Examples

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.

Table of Contents

Chapter 1

  • ansible_managed: An example of how to use the ansible_managed magic variable to remind sysadmins which files are managed by Ansible.

Chapter: Introduction to ansible-lint

  • hello-world: A starter playbook to break a lot of formatting standards.

Issues

Submit your improvements and errata to the GitHub issue queue.

License

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.

About the author

This project was created by David Norman as an example for Testing Ansible.