Course Objective:
Goal: To teach learners how to use Ansible for IT automation, including configuration management, application deployment, and task automation across servers.
Module 1: Introduction to IT Automation & Ansible
-
What is IT Automation?
-
Why Ansible?
-
Tools
-
Architecture of Ansible
Module 2: Setting Up the Ansible Environment
-
Control node vs Managed nodes
-
Installation on Linux (Ubuntu/CentOS)
-
Inventory files (static & dynamic)
Module 3: Working with Ad-hoc Commands
-
Syntax of ad-hoc commands
-
Common modules:
ping,command,shell,copy,yum,apt,user,service -
Managing files and users
Module 4: Writing and Running Playbooks
-
YAML basics
-
Anatomy of a Playbook: hosts, tasks, modules
-
Variables, loops, and conditionals
-
Tags, handlers, and templates (Jinja2)
Module 5: Roles and Reusability
-
Why use roles?
-
Directory structure of a role
Module 6: Advanced Concepts
-
Error handling (
ignore_errors,failed_when) -
Ansible Vault for secrets
-
Custom modules and filters
Module 8: Real World Projects
-
Deployment using Ansible
Course Duration:
| Mode | Duration |
|---|---|
| Fast Track | 2 weeks (daily 2–3 hours) |
| Regular | 4–6 weeks (2–3 classes per week) |
| Weekend | 6–8 weeks (Sat-Sun classes) |