Ansible - Getting started

Simple! Powerfull! Agentless!

Thats right, relatively new kid on the block. Ansible as gained wide popularity.

Ansible can be used for

Lets take a look at the ansible architecture

Ansible Architecure

Let’s look at the some of the important components of the architecture

Playbooks

As shown below Playbooks contain plays that contains tasks composed of modules.

graph TD subgraph Playbooks subgraph Plays subgraph Tasks modules end end end

Tasks run sequentially. Tasks can trigger handlers that are run once at the end of plays.

Modules

Provided by ansible to help automate nearly every part of environment. Follows the following standard structure. module: directive1=value directive2=value

Dry run or check mode can be used to see if ensible will do what is expected.

More to come soon .. stay tuned..