Automation with Ansible
Learn to write and manage Ansible playbooks and automate system administration tools. Automation with Ansible is designed for system administrators who are intending to use Ansible for automation, configuration, and management. Learn how to install and configure Ansible, create and run playbooks to configure systems, and learn to manage inventories.
Course Objectives
- Introducing Ansible-Overview of Ansible Architecture
- Implementation of Ansible Playbooks
- Automate Linux Patching using Ansible
- Various Labs to understand the Ansible Playbook for Linux Servers Patching
- Managing Variables & Inclusions
- Various Labs on Implementing Playbooks from real IT Industry Environment
- Gain sufficient skills to perform core system administration Automation
- Implementing Tasks Controls
- Overview of Ansible Installation
- Online/Offline Ansible installation
- Ansible Conditionals
- Ansible Modules
- Industrial Live overview of Automation tool using Ansible with Shell Scripting
- Ansible Handlers
- Ansible Loops
- Deploying Ansible
- Writing YAML Files
- Ansible Roles
- How do we create Ansible Roles
- Industrial project of stop/start controlm appl/db
Target Audience
- Linux system administrators
- Systems design engineers
- DevOps engineers
- Infrastructure automation engineers
- Cloud Engineer
- Server Administrator
- Infrastructure Manager
Course Pre-Requisites
- Linux System Administration knowledge and experience.
- Networking Concepts
- Basic Knowledge on Linux Shell Scripting
Course Duration
- 36 Hours
- 12 Classes
- 3.0 Hours per Class
Fee | 12,000/= |
Type | Offline/Online |
Module | 10 |
Duration | 36 Hours |
Session | 12 |
Per Class | 3.00 Hours |
Details Course Outlines
Module-01
Introduction
- Overview of Ansible Architecture
- Ansible Components
- Overview of Ansible Deployments
- Describing Ansible Inventory
- Recap
Module-02
Deploying Ansible
- Installing Ansible
- Guided Exercise: Installing Ansible
- Guided Exercise: Managing Ansible Configuration Files
- Running Ad Hoc Commands
- Guided Exercise: Running Ad Hoc Commands
- Managing Dynamic Inventory
- Guided Exercise: Managing Dynamic Inventory
- Lab: Deploying Ansible
- Managing Dynamic Inventory
Module-03
Ansible Installation on Red Hat Linux 8
- Overview of Ansible Installation
- Online Ansible Installation
- User's Account Setup for Passwordless Authentication
- Offline Ansible Installation
Module-04
Implementing Playbooks
- Writing YAML Files
- Guided Exercise: Writing YAML Files
- Implementing Modules
- Guided Exercise: Implementing Modules
- Implementing Ansible Playbooks
- Guided Exercise: Implementing Ansible Playbooks
- Lab: Implementing Playbooks
Module-05
Managing Variables and Inclusions
- Managing Variables
- Guided Exercise: Managing Variables
- Managing Facts
- Guided Exercise: Managing Facts
- Managing Inclusions
- Guided Exercise: Managing Inclusions
- Lab: Managing Variables and Inclusions
Module-06
Implementing Task Control
- Constructing Flow Control
- Guided Exercise: Constructing Flow Control
- Implementing Handlers
- Guided Exercise: Implementing Handlers
- Implementing Tags
- Guided Exercise: Implementing Tags
- Handling Errors
- Guided Exercise: Handling Errors
- Lab: Implementing Task Control
Module-07
Ansible Roles
- About Ansible Roles
- How do we create Ansible Roles
- Lab Session to create roles
Module-08
Industrial project to Automate Patching on Multiple Linux Server using Ansible Playbook
- Overview about Linux Patching
- Automate Linux Patching using Ansible
- Verify application/Database processes are running or not
- Decision point to start patching
- Upgrade all the packages on the server
- Check if reboot required after the kernel update
- Install the specific kernel version using Ansible Playbook.
- Various Labs to understand the Ansible Playbook for patching
Module-09
Industrial project for Stop/Start Control M appl/db
- Overview of project
- Designing of Ansible playbooks
- Lab Sessions
Module-10
Create Automation tool using Ansible & Shell
- Overview & Concept Automation Tool
- Communication between Ansible Server with managed hosts
- Front look of Automation Tool
- Pre-validation Configuration
- User Administratio (User Creation , Removal, Group Add, Password Reset)
- Run Ad Hoc Command
- Health Check Statistics ( Memory , CPU Utilization, Overall I/O Activities, Top Memory & CPU , Shared Memory Consuming processes)
- Design of Automation Tool
- Design Front Look using case statement
- Color Fonts in desinging the tool
- Headline & Selecting the target servers
- Lab sessions
- Shell Scripting ( If..else..elif statement, Loops, Sed – Stream Editor,Awk,The case esac statement)
- Last lecture