An open API service indexing awesome lists of open source software.

https://github.com/deekayen/testing-ansible

Examples to supplement Testing Ansible by David Norman.
https://github.com/deekayen/testing-ansible

ansible ansible-example ansible-examples book-example-source-code book-examples

Last synced: 4 months ago
JSON representation

Examples to supplement Testing Ansible by David Norman.

Awesome Lists containing this project

README

        

# Testing Ansible Examples

This repository contains examples written to illustrate [Testing Ansible](https://testingansible.rocks/), a book on producing and maintaining quality [Ansible](http://www.ansible.com/) orchestration by [David Norman](https://dkn.me/).

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](https://www.ansiblefordevops.com/) by [Jeff Geerling](https://www.jeffgeerling.com/).

## Table of Contents

### Chapter 1

- [`ansible_managed`](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`](hello-world/): A starter playbook to break a lot of formatting standards.

## Issues

Submit your improvements and errata to the [GitHub issue queue](https://github.com/deekayen/testing-ansible/issues).

## 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](https://dkn.me) as an example for [Testing Ansible](https://testingansible.rocks).