SlideShare a Scribd company logo
7
Most read
9
Most read
10
Most read
DEVOPS
WITH
SWAPNIL JAIN
RED HAT CERTIFIED INSTRUCTOR, DEVOPS CONSULTANT (GLS APAC)
ABOUT ME
SWAPNIL JAIN
• 17 years of broad technical experience
• Red Hat Certified Architect (RHCA) Level VIII
• Founder & Director at Pisces Solutions P. Ltd
• Founder & CTO at Ambedded Taiwan, and creator of worlds first ARM MicroServer
Based Ceph Appliance “MARS200”, winner of “Best of Interop 2016” innovation award
• Red Hat Certified Instructor, delivering trainings in India, Singapore & Australia since
last 2 years
• Trained 400+ Candidates on different Red Hat Products & Tech. in 2016
AGENDA
• Introduction to Ansible
• Ansible Use Cases
• Ansible Architecture & Components
• About Ansible Modules Demo
• Writing Ansible Playbooks Demo
• About Ansible Tower, Features & Benefits over Ansible Core
• Ansible Tower Demo
• Q&A
DEPLOY APPS. MANAGE SYSTEMS. CRUSH COMPLEXITY.
WHAT IS ANSIBLE
• Ansible was originally written by Michael DeHaan, the
creator of the Cobbler provisioning application.
• Ansible is an open source configuration management and
orchestration utility. It can automate and standardize the
configuration of remote hosts and virtual machines. Its
orchestration functionality allows Ansible to coordinate the
launch and graceful shutdown of multitiered applications.
Because of this, Ansible can perform rolling updates of
multiple systems in a way that results in zero downtime.
• Ansible, Inc. (originally AnsibleWorks, Inc.) was the
company set up to commercially support and sponsor
Ansible. Later it was acquired by Red Hat in October 2015.
IT’S SIMPLE POWERFUL AGENTLESS
WHY ANSIBLE?
• Everyone hates repetitive work - Ansible Loves It. Ansible is a simple automation
language that can perfectly describe an IT application infrastructure. It’s easy-to-
learn, self-documenting, and doesn’t require a grad-level computer science degree
to read. Automation shouldn’t be more complex than the tasks it’s replacing.
• Complexity kills productivity - Every business is a digital business. Delivering your
applications faster helps you win. That requires a lot of manual effort and
complicated coordination. We need a tool to drive complexity out of our
environments and accelerate DevOps initiatives.
IT’S SIMPLE POWERFUL AGENTLESS
WHY ANSIBLE?
COMMON ANSIBLE USE CASES
• Provisioning
• Configuration Management
• App Deployment
• Continuous Delivery
• Security & Compliance
• Orchestration
ARCHITECTURE
Control Node
… …. … … .. Managed Nodes … …. … … ..
SSH
winrm
ARCHITECTURE
Control Node
… …. … … .. Managed Nodes … …. … … ..
SSH
winrm
( HOW )
( WHERE ) ( WHAT )
MODULES - PLUGINS - API
PLAYBOOK.YMLINVENTORY
ANSIBLE.CFG
ANSIBLE MODULES
• Modules are programs that Ansible uses to perform operations on managed hosts. They are ready-to-
use tools designed to perform specific operations. Modules can be executed from the ansible command
line or used in playbooks to execute tasks. When run, modules are copied to the managed host and
executed there.
• Three Type of Modules
1.Core modules are included with Ansible and are written and maintained by the Ansible development
team. Core modules are the most important modules and are used for common administration tasks.
2.Extras modules are currently included with Ansible but may be promoted to core or shipped
separately in the future. They are generally not maintained by the Ansible team but by the community.
3.Custom modules are modules developed by end users and not shipped by Ansible. If a module does
not already exist for a task, an administrator can write a new module to implement it.
ANSIBLE MODULE
DEMO
PLAYBOOKS
• Playbooks are text files written in YAML format.
• Ansible playbooks also contain list of plays, where each play serves to define a set
of operations to perform on a specific set of managed hosts. These operations are
called tasks, and the managed hosts are referred to as hosts. Tasks are performed
by invoking Ansible modules and passing them the necessary arguments to
accomplish the desired operation.
PLAYBOOK
DEMO
EXTEND THE POWER OF ANSIBLE WITH ANSIBLE TOWER
ANSIBLE TOWER
• Ansible Tower is an enterprise framework for controlling, securing and managing
your Ansible automation with a UI and RESTful API.
• Tower builds on the underlying Ansible automation engine by adding control,
access, security, auditing, and delegation capabilities required in the enterprise.
FEATURES
ANSIBLE TOWER
• Dashboard
• Real-Time Job Status Updates
• Who Ran What Job When
• Integrated Notifications
• Schedule Ansible Jobs
• Manage And Track Your Entire Inventory
• Remote Command Execution
• System Tracking
• Comprehensive Rest Api And Tower Cli Tool
ANSIBLE TOWER
DEMO
REFERENCES
• http://www.googlinux.com/ansible-getting-started/
• https://github.com/swapnil-linux/ansible
• http://www.googlinux.com/creating-docker-container-using-ansible/
Q & A
@jswapnil
linkedin.com/in/jswapnil
THANK YOU

More Related Content

PDF
Ansible
PDF
Ansible 101
PPTX
Introduction to Ansible
PDF
Ansible, best practices
PPTX
Automating with Ansible
PDF
Ansible - Hands on Training
PDF
Ansible - Introduction
PPTX
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
Ansible
Ansible 101
Introduction to Ansible
Ansible, best practices
Automating with Ansible
Ansible - Hands on Training
Ansible - Introduction
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...

What's hot (20)

PDF
Ansible
PDF
IT Automation with Ansible
ODP
Introduction to Ansible
PPTX
Introduction to ansible
PDF
Ansible Introduction
PPTX
Ansible presentation
PPT
Ansible presentation
PDF
Ansible
PPTX
Ansible presentation
PDF
Automation with ansible
PPTX
PPTX
Best practices for ansible
PPTX
Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...
PDF
Ansible Automation Platform.pdf
PDF
Hands-On Introduction to Kubernetes at LISA17
PDF
OpenShift 4, the smarter Kubernetes platform
ODP
ansible why ?
PDF
Kubernetes
PDF
Ansible Playbook
PDF
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Ansible
IT Automation with Ansible
Introduction to Ansible
Introduction to ansible
Ansible Introduction
Ansible presentation
Ansible presentation
Ansible
Ansible presentation
Automation with ansible
Best practices for ansible
Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...
Ansible Automation Platform.pdf
Hands-On Introduction to Kubernetes at LISA17
OpenShift 4, the smarter Kubernetes platform
ansible why ?
Kubernetes
Ansible Playbook
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Ad

Similar to DevOps with Ansible (20)

PPTX
Ansible: Automation Tool
PDF
Introduction to Ansible in RHEL- RHCE.pdf
PDF
Top 50 Ansible Interview Questions And Answers in 2023.pdf
PPTX
Ansible as configuration management tool for devops
PPT
Ansible Introduction
PPTX
Ansible: What, Why & How
PDF
Ansible for Configuration Management for Lohika DevOps training 2018 @ Lohika...
PDF
Automate with Ansible basic (2/e, English)
ODP
Ansible get started
PPTX
Introduction to Ansible
PPTX
Intro to-ansible-sep7-meetup
PDF
Ansible: infrastructure automation for everyone
PPTX
SESSION Ansible how to deploy and push resources
PDF
ansible_rhel.pdf
PDF
Red hat ansible automation technical deck
PPTX
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
PDF
Ansible nice-pdf-copy-for-pres
PPTX
Ansible presentation of cil for education prepare
PDF
Ansible: Automation Tool
Introduction to Ansible in RHEL- RHCE.pdf
Top 50 Ansible Interview Questions And Answers in 2023.pdf
Ansible as configuration management tool for devops
Ansible Introduction
Ansible: What, Why & How
Ansible for Configuration Management for Lohika DevOps training 2018 @ Lohika...
Automate with Ansible basic (2/e, English)
Ansible get started
Introduction to Ansible
Intro to-ansible-sep7-meetup
Ansible: infrastructure automation for everyone
SESSION Ansible how to deploy and push resources
ansible_rhel.pdf
Red hat ansible automation technical deck
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
Ansible nice-pdf-copy-for-pres
Ansible presentation of cil for education prepare
Ad

Recently uploaded (20)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
cuic standard and advanced reporting.pdf
PDF
KodekX | Application Modernization Development
PDF
Unlocking AI with Model Context Protocol (MCP)
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Modernizing your data center with Dell and AMD
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
Chapter 3 Spatial Domain Image Processing.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
NewMind AI Weekly Chronicles - August'25 Week I
Understanding_Digital_Forensics_Presentation.pptx
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction
cuic standard and advanced reporting.pdf
KodekX | Application Modernization Development
Unlocking AI with Model Context Protocol (MCP)
The AUB Centre for AI in Media Proposal.docx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Encapsulation theory and applications.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Building Integrated photovoltaic BIPV_UPV.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Encapsulation_ Review paper, used for researhc scholars
Modernizing your data center with Dell and AMD
Digital-Transformation-Roadmap-for-Companies.pptx
Spectral efficient network and resource selection model in 5G networks

DevOps with Ansible

  • 1. DEVOPS WITH SWAPNIL JAIN RED HAT CERTIFIED INSTRUCTOR, DEVOPS CONSULTANT (GLS APAC)
  • 2. ABOUT ME SWAPNIL JAIN • 17 years of broad technical experience • Red Hat Certified Architect (RHCA) Level VIII • Founder & Director at Pisces Solutions P. Ltd • Founder & CTO at Ambedded Taiwan, and creator of worlds first ARM MicroServer Based Ceph Appliance “MARS200”, winner of “Best of Interop 2016” innovation award • Red Hat Certified Instructor, delivering trainings in India, Singapore & Australia since last 2 years • Trained 400+ Candidates on different Red Hat Products & Tech. in 2016
  • 3. AGENDA • Introduction to Ansible • Ansible Use Cases • Ansible Architecture & Components • About Ansible Modules Demo • Writing Ansible Playbooks Demo • About Ansible Tower, Features & Benefits over Ansible Core • Ansible Tower Demo • Q&A
  • 4. DEPLOY APPS. MANAGE SYSTEMS. CRUSH COMPLEXITY. WHAT IS ANSIBLE • Ansible was originally written by Michael DeHaan, the creator of the Cobbler provisioning application. • Ansible is an open source configuration management and orchestration utility. It can automate and standardize the configuration of remote hosts and virtual machines. Its orchestration functionality allows Ansible to coordinate the launch and graceful shutdown of multitiered applications. Because of this, Ansible can perform rolling updates of multiple systems in a way that results in zero downtime. • Ansible, Inc. (originally AnsibleWorks, Inc.) was the company set up to commercially support and sponsor Ansible. Later it was acquired by Red Hat in October 2015.
  • 5. IT’S SIMPLE POWERFUL AGENTLESS WHY ANSIBLE? • Everyone hates repetitive work - Ansible Loves It. Ansible is a simple automation language that can perfectly describe an IT application infrastructure. It’s easy-to- learn, self-documenting, and doesn’t require a grad-level computer science degree to read. Automation shouldn’t be more complex than the tasks it’s replacing. • Complexity kills productivity - Every business is a digital business. Delivering your applications faster helps you win. That requires a lot of manual effort and complicated coordination. We need a tool to drive complexity out of our environments and accelerate DevOps initiatives.
  • 6. IT’S SIMPLE POWERFUL AGENTLESS WHY ANSIBLE?
  • 7. COMMON ANSIBLE USE CASES • Provisioning • Configuration Management • App Deployment • Continuous Delivery • Security & Compliance • Orchestration
  • 8. ARCHITECTURE Control Node … …. … … .. Managed Nodes … …. … … .. SSH winrm
  • 9. ARCHITECTURE Control Node … …. … … .. Managed Nodes … …. … … .. SSH winrm ( HOW ) ( WHERE ) ( WHAT ) MODULES - PLUGINS - API PLAYBOOK.YMLINVENTORY ANSIBLE.CFG
  • 10. ANSIBLE MODULES • Modules are programs that Ansible uses to perform operations on managed hosts. They are ready-to- use tools designed to perform specific operations. Modules can be executed from the ansible command line or used in playbooks to execute tasks. When run, modules are copied to the managed host and executed there. • Three Type of Modules 1.Core modules are included with Ansible and are written and maintained by the Ansible development team. Core modules are the most important modules and are used for common administration tasks. 2.Extras modules are currently included with Ansible but may be promoted to core or shipped separately in the future. They are generally not maintained by the Ansible team but by the community. 3.Custom modules are modules developed by end users and not shipped by Ansible. If a module does not already exist for a task, an administrator can write a new module to implement it.
  • 12. PLAYBOOKS • Playbooks are text files written in YAML format. • Ansible playbooks also contain list of plays, where each play serves to define a set of operations to perform on a specific set of managed hosts. These operations are called tasks, and the managed hosts are referred to as hosts. Tasks are performed by invoking Ansible modules and passing them the necessary arguments to accomplish the desired operation.
  • 14. EXTEND THE POWER OF ANSIBLE WITH ANSIBLE TOWER ANSIBLE TOWER • Ansible Tower is an enterprise framework for controlling, securing and managing your Ansible automation with a UI and RESTful API. • Tower builds on the underlying Ansible automation engine by adding control, access, security, auditing, and delegation capabilities required in the enterprise.
  • 15. FEATURES ANSIBLE TOWER • Dashboard • Real-Time Job Status Updates • Who Ran What Job When • Integrated Notifications • Schedule Ansible Jobs • Manage And Track Your Entire Inventory • Remote Command Execution • System Tracking • Comprehensive Rest Api And Tower Cli Tool
  • 18. Q & A