SlideShare a Scribd company logo
Presented By
- Avinash Pawar
Ansible Introduction
Agenda
1. Ansible Introduction
2. Why Ansible?
3. Ansible Architecture / How Ansible Works?
4. Ansible Components/Concepts
5. Ansible – Playbooks
6. Ansible – Role
7. Demo
Introduction - What is Ansible?
“ Simple, agent-less and powerful
open source IT automation Tool ”
 Provisioning
 Configuration Management
 Application Deployment
 Continuous Delivery
 Security & Compliance
 Orchestration
Products:
 Ansible CLI
 Ansible Tower
Why Ansible?
 It is very simple and powerful
 Agent-less – No need for agent installation and
management
 Secure – SSH based connection
 Python / yaml based
 Highly flexible and configuration management of
systems.
 Large number of ready to use modules available for
system management
 Custom modules can be added if needed
 Human readable & Self documenting
 Idempotent
How Ansible Works?
Ansible works by connecting to your nodes and pushing out small programs, called
“Ansible Modules” to them. Ansible then executes these modules (over SSH by
default) and removes then when finished.
Ansible Components/Concepts
 Inventory
File where you declare the list of hosts and groups
 Modules
Ansible ships with a number of modules (called the 'module library') that can be executed
directly on remote hosts or through Playbooks. Users can also write their own modules
 Playbooks – Play, Tasks and Modules
A playbook is a yaml file where you run series of tasks on the hosts
 Variables
Ansible provides a mechanism for overriding variables.
 Templates
Templates are a powerful resource for generating files on the hosts. A template will have a
common structure and it will be populated with specify variable values at runtime.
 Roles
Roles are ways of automatically loading certain vars_files, tasks, templates, and handlers
based on a known file structure. Grouping content by roles also allows easy sharing of roles
with other users.
Inventory / Host file
Group
Hosts/Nodes
Playbook Structure
Play
Role
Roles Directory Structure
Demo…
Thank you…

More Related Content

PDF
Top 50 Ansible Interview Questions And Answers in 2023.pdf
ODP
Ansible get started
ODP
Introduction to Ansible
PPTX
Introduction to Ansible
PPTX
Ansible
PDF
ansible_rhel.pdf
PPTX
Ansible
Top 50 Ansible Interview Questions And Answers in 2023.pdf
Ansible get started
Introduction to Ansible
Introduction to Ansible
Ansible
ansible_rhel.pdf
Ansible

Similar to Ansible Introduction (20)

PDF
Ansible a tool for dev ops
PDF
Ansible_Basics_ppt.pdf
PPTX
Ansible Hands On
PDF
Ansible Playbook
PDF
DevOps with Ansible
PPTX
Extending ansible
PDF
Top 19 Ansible Interview Questions And Answers.pdf
PDF
Ansible
ODP
ansible why ?
PPTX
Ansible presentation of cil for education prepare
PDF
Hands On Introduction To Ansible Configuration Management With Ansible Comple...
PPTX
SESSION Ansible how to deploy and push resources
PDF
DevOps Online Training
PPTX
Mastering_Ansible_PAnsible_Presentation our score increases as you pick a
PDF
Ansible
PPTX
Top 5 Ansible modules
PDF
Infrastructure automation using awx ansible tower
PDF
Introduction to Ansible in RHEL- RHCE.pdf
PDF
PPTX
DevOps for database
Ansible a tool for dev ops
Ansible_Basics_ppt.pdf
Ansible Hands On
Ansible Playbook
DevOps with Ansible
Extending ansible
Top 19 Ansible Interview Questions And Answers.pdf
Ansible
ansible why ?
Ansible presentation of cil for education prepare
Hands On Introduction To Ansible Configuration Management With Ansible Comple...
SESSION Ansible how to deploy and push resources
DevOps Online Training
Mastering_Ansible_PAnsible_Presentation our score increases as you pick a
Ansible
Top 5 Ansible modules
Infrastructure automation using awx ansible tower
Introduction to Ansible in RHEL- RHCE.pdf
DevOps for database
Ad

Recently uploaded (20)

PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPT
Introduction Database Management System for Course Database
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
medical staffing services at VALiNTRY
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
System and Network Administration Chapter 2
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
ai tools demonstartion for schools and inter college
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
L1 - Introduction to python Backend.pptx
PDF
top salesforce developer skills in 2025.pdf
PDF
Designing Intelligence for the Shop Floor.pdf
PPTX
Introduction to Artificial Intelligence
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Transform Your Business with a Software ERP System
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
System and Network Administraation Chapter 3
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Introduction Database Management System for Course Database
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
medical staffing services at VALiNTRY
Design an Analysis of Algorithms I-SECS-1021-03
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
System and Network Administration Chapter 2
Digital Systems & Binary Numbers (comprehensive )
ai tools demonstartion for schools and inter college
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
L1 - Introduction to python Backend.pptx
top salesforce developer skills in 2025.pdf
Designing Intelligence for the Shop Floor.pdf
Introduction to Artificial Intelligence
Computer Software and OS of computer science of grade 11.pptx
Transform Your Business with a Software ERP System
How to Migrate SBCGlobal Email to Yahoo Easily
System and Network Administraation Chapter 3
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
wealthsignaloriginal-com-DS-text-... (1).pdf
Ad

Ansible Introduction

  • 1. Presented By - Avinash Pawar Ansible Introduction
  • 2. Agenda 1. Ansible Introduction 2. Why Ansible? 3. Ansible Architecture / How Ansible Works? 4. Ansible Components/Concepts 5. Ansible – Playbooks 6. Ansible – Role 7. Demo
  • 3. Introduction - What is Ansible? “ Simple, agent-less and powerful open source IT automation Tool ”  Provisioning  Configuration Management  Application Deployment  Continuous Delivery  Security & Compliance  Orchestration Products:  Ansible CLI  Ansible Tower
  • 4. Why Ansible?  It is very simple and powerful  Agent-less – No need for agent installation and management  Secure – SSH based connection  Python / yaml based  Highly flexible and configuration management of systems.  Large number of ready to use modules available for system management  Custom modules can be added if needed  Human readable & Self documenting  Idempotent
  • 5. How Ansible Works? Ansible works by connecting to your nodes and pushing out small programs, called “Ansible Modules” to them. Ansible then executes these modules (over SSH by default) and removes then when finished.
  • 6. Ansible Components/Concepts  Inventory File where you declare the list of hosts and groups  Modules Ansible ships with a number of modules (called the 'module library') that can be executed directly on remote hosts or through Playbooks. Users can also write their own modules  Playbooks – Play, Tasks and Modules A playbook is a yaml file where you run series of tasks on the hosts  Variables Ansible provides a mechanism for overriding variables.  Templates Templates are a powerful resource for generating files on the hosts. A template will have a common structure and it will be populated with specify variable values at runtime.  Roles Roles are ways of automatically loading certain vars_files, tasks, templates, and handlers based on a known file structure. Grouping content by roles also allows easy sharing of roles with other users.
  • 7. Inventory / Host file Group Hosts/Nodes