PacktLib: Ansible Configuration Management

Ansible Configuration Management

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started with Ansible

Installation methods

Installing from your distribution

Installing from pip

Installing from the source code

Setting up Ansible

First steps with Ansible

Module help

Summary

Simple Playbooks

The target section

The variable section

The task section

The handlers section

The playbook modules

Summary

Advanced Playbooks

Running operations in parallel

Looping

Conditional execution

Task delegation

Extra variables

Finding files with variables

Environment variables

External data lookups

Storing results

Debugging playbooks

Summary

Larger Projects

Includes

Roles

New features in 1.3

Speeding things up

Summary

Custom Modules

Writing a module in Bash

Using a module

Writing modules in Python

External inventories

Summary

Index