You are on page 1of 39

Ansible: Next Gen

Configuration Management
and Provisioning
Gopal Das
Agend
a
• Why – Motivation for
Use

• What – Let’s Introduce

• How – It Works

• Reference
Why – Motivation for
Use
What Are You
Doing
How Are You
Doing
Requirement Scale-
out
What – Let’s
Introduce
Feature
s
How – It
Work’s
Building
Blocks
• Ad-hoc
Commands
• Inventory
• Playbook
▪ Push Mode
▪ Pull Mode
▪ Tasks
▪ Variables
▪ Templates
▪ Handlers
▪ Roles
▪ Modules
Ad-hoc
Commands
Ad-hoc
Commands
Ad-hoc
Commands
Inventory
Playbook
s
Playbooks – Push
Mode
Playbooks – Pull
Mode
Playbook –
Example
Playbook –
Tasks
ansible-playbook
run
Playbook -
Variables
Variables -
Example
Variables -
Example
Playbooks -
Templates
Templates – sudoers Jinja2
template
Templates – sudoers file after
expansion
Handler
s
Role
s
Role
s
Generalization v/s Specialization (Tasks and
Roles)
Module
s
Ansible-Galaxy
What We Achieved (See Slide
#6)
Referenc
e
•Ansible Docs (http://docs.ansible.com/ansible/index.html)
•Ansible for DevOps by Jeff Geerling
(https://leanpub.com/ansible-for-devops)

You might also like