Ansible Complete Hands-on Course

Master Ansible with hands-on labs, IT automation, configuration management, playbooks, infrastructure provisioning, and real-world DevOps projects.

COURSE
Duration
30 Hrs
Delivery mode
Live Online
Level
Intermediate
Module
31 Modules
Lesson
225 Lessons
Capstone
1 Capstone
Course artwork for Ansible Complete Hands-on Course

Learning Experience

  • Hands-on Labs
  • Real Projects

About This Course

Learn Ansible from basics to advanced concepts through practical hands-on exercises. Automate server configuration, application deployment, and infrastructure management using Ansible.

What You'll Learn

  • Ansible installation and configuration
  • Ansible architecture and components
  • Inventory files and ad-hoc commands
  • YAML and Ansible playbooks
  • Variables, facts, and templates
  • Ansible roles and modules
  • Ansible Vault and security
  • Real-world automation projects

Structured learning path

Course Curriculum

31 Modules 1 Capstone

Core Learning Modules

Module 0 Infrastructure Automation 5 Lessons
  1. 01Manual administration challenges
  2. 02Configuration management
  3. 03Infrastructure as Code
  4. 04Desired state and idempotency
  5. 05Repeatable infrastructure operations
Module 1 Introduction to Ansible 5 Lessons
  1. 01Ansible features and use cases
  2. 02Agentless architecture
  3. 03Push-based automation
  4. 04Ansible vs shell scripts
  5. 05Common automation workflows
Module 2 Ansible Architecture 6 Lessons
  1. 01Control node
  2. 02Managed nodes
  3. 03Inventory
  4. 04Modules and plugins
  5. 05Tasks, plays and playbooks
  6. 06Collections and roles
Module 3 Installing Ansible 5 Lessons
  1. 01Control-node requirements
  2. 02Installation approaches
  3. 03Verify Ansible versions
  4. 04Ansible configuration files
  5. 05Configuration precedence overview
Module 4 SSH and Privilege Escalation 7 Lessons
  1. 01SSH key authentication
  2. 02Remote users
  3. 03Host-key checking
  4. 04become
  5. 05become_user
  6. 06Sudo configuration
  7. 07Connection troubleshooting
Module 5 Hands-on Lab — Build the Ansible Lab 6 Lessons
  1. 01Configure a control node
  2. 02Create Linux/AWS EC2 managed nodes
  3. 03Configure SSH keys
  4. 04Create the initial inventory
  5. 05Test Ansible connectivity
  6. 06Run commands with privilege escalation
Module 6 Static Inventory 6 Lessons
  1. 01INI inventory
  2. 02YAML inventory
  3. 03Host aliases
  4. 04Groups and child groups
  5. 05Host variables
  6. 06Group variables
Module 7 Inventory Patterns and Variables 7 Lessons
  1. 01Target individual hosts
  2. 02Target groups
  3. 03Intersections and exclusions
  4. 04Host ranges
  5. 05group_vars
  6. 06host_vars
  7. 07Inventory inspection commands
Module 8 Hands-on Lab — Organize a Multi-Tier Inventory 6 Lessons
  1. 01Create web, application and database groups
  2. 02Define group variables
  3. 03Define host-specific variables
  4. 04Use inventory patterns
  5. 05Inspect hosts and variables
  6. 06Run commands against selected groups
Module 9 Ad Hoc Commands 6 Lessons
  1. 01Ansible command structure
  2. 02Host patterns
  3. 03Module arguments
  4. 04Forks and parallel execution
  5. 05Privilege escalation
  6. 06Check mode support
Module 10 Essential Ansible Modules 9 Lessons
  1. 01command and shell
  2. 02package
  3. 03service
  4. 04user
  5. 05file
  6. 06copy
  7. 07fetch
  8. 08setup
  9. 09uri
Module 11 Hands-on Lab — Linux Administration 7 Lessons
  1. 01Collect system information
  2. 02Manage users and groups
  3. 03Install software
  4. 04Create directories and files
  5. 05Manage services
  6. 06Retrieve remote files
  7. 07Validate an HTTP endpoint
Module 12 YAML for Ansible 6 Lessons
  1. 01YAML mappings and sequences
  2. 02Strings, numbers and booleans
  3. 03Lists and dictionaries
  4. 04Indentation
  5. 05Multiline values
  6. 06Common YAML errors
Module 13 Playbook Structure 7 Lessons
  1. 01Plays and tasks
  2. 02Hosts
  3. 03Privilege escalation
  4. 04Module calls
  5. 05Task ordering
  6. 06Idempotency
  7. 07Playbook execution
Module 14 Hands-on Lab — Create an Idempotent Playbook 6 Lessons
  1. 01Install a web server
  2. 02Deploy web content
  3. 03Configure the service
  4. 04Execute the playbook repeatedly
  5. 05Verify idempotency
  6. 06Use syntax-check and check mod
Module 15 Ansible Variables 7 Lessons
  1. 01Playbook variables
  2. 02Inventory variables
  3. 03Variable files
  4. 04Role defaults and variables
  5. 05Extra variables
  6. 06Variable precedence
  7. 07Sensitive variables
Module 16 Facts and Registered Variables 7 Lessons
  1. 01Fact gathering
  2. 02Common system facts
  3. 03Custom local facts overview
  4. 04Registered results
  5. 05Return values
  6. 06debug
  7. 07Set facts during execution
Module 17 Hands-on Lab — Data-Driven Configuration 5 Lessons
  1. 01Use variables for package and service names
  2. 02Select values based on operating system facts
  3. 03Register command results
  4. 04Use registered output in later tasks
  5. 05Display deployment information
Module 18 Conditionals and Loops 7 Lessons
  1. 01when
  2. 02Multiple conditions
  3. 03Tests and filters
  4. 04Loop over lists
  5. 05Loop over dictionaries
  6. 06Nested-loop considerations
  7. 07Loop-control options
Module 19 Handlers, Tags and Task Control 7 Lessons
  1. 01Handlers
  2. 02Notification behavior
  3. 03Handler execution order
  4. 04Tags
  5. 05Task delegation overview
  6. 06run_once
  7. 07Task inclusion and importing overview
Module 20 Hands-on Lab — Adaptive Playbook 6 Lessons
  1. 01Install multiple packages using loops
  2. 02Apply OS-specific conditions
  3. 03Run a task once
  4. 04Delegate a validation task
  5. 05Trigger handlers after configuration changes
  6. 06Select tasks using tags
Module 21 Jinja2 Templates 7 Lessons
  1. 01Template syntax
  2. 02Variables and expressions
  3. 03Conditions in templates
  4. 04Loops in templates
  5. 05Filters
  6. 06Template comments
  7. 07Configuration generation
Module 22 Advanced File Management 7 Lessons
  1. 01copy
  2. 02template
  3. 03lineinfile
  4. 04blockinfile
  5. 05replace
  6. 06File ownership and permissions
  7. 07Backups and validation
Module 23 Hands-on Lab — Generate Service Configuration 6 Lessons
  1. 01Create a Jinja2 template
  2. 02Generate host-specific configuration
  3. 03Validate the configuration
  4. 04Back up the existing file
  5. 05Notify the service handler
  6. 06Verify the deployed configuration
Module 24 Ansible Roles 7 Lessons
  1. 01Role purpose
  2. 02Standard directory structure
  3. 03Defaults and variables
  4. 04Tasks and handlers
  5. 05Templates and files
  6. 06Role dependencies
  7. 07Calling roles
Module 25 Ansible Galaxy and Collections 7 Lessons
  1. 01Galaxy roles
  2. 02Ansible collections
  3. 03Fully Qualified Collection Names
  4. 04Install role and collection dependencies
  5. 05requirements.yml
  6. 06Version pinning
  7. 07Evaluating community content
Module 26 Hands-on Lab — Develop a Reusable Role 6 Lessons
  1. 01Generate a role
  2. 02Add tasks and handlers
  3. 03Add templates and defaults
  4. 04Add role metadata
  5. 05Install required collections
  6. 06Apply the role to multiple inventory groups
Module 27 Ansible Vault 6 Lessons
  1. 01Encrypt variable files
  2. 02Encrypt individual strings
  3. 03Vault identities
  4. 04Vault password files
  5. 05Edit and rekey encrypted data
  6. 06CI/CD secret-handling considerations
Module 28 Error Handling and Troubleshooting 7 Lessons
  1. 01ignore_errors
  2. 02failed_when
  3. 03changed_when
  4. 04Blocks, rescue and always
  5. 05Retries and until
  6. 06Verbose execution
  7. 07Common SSH, module and variable errors
Module 29 Dynamic Inventory and Scaling 7 Lessons
  1. 01Static vs dynamic inventory
  2. 02Cloud inventory plugins
  3. 03AWS inventory concepts
  4. 04Filters and keyed groups
  5. 05Inventory caching
  6. 06Forks and execution performance
  7. 07Serial and rolling execution
Module 30 Advanced Automation Practices 13 Lessons
  1. 01Includes vs imports
  2. 02Delegation
  3. 03run_once
  4. 04Rolling updates with serial
  5. 05Assertions
  6. 06Check and diff modes
  7. 07Ansible configuration tuning
  8. 08Playbook directory structure
  9. 09ansible-lint overview
  10. 10Molecule testing overview
  11. 11AWX and Ansible Automation Platform overview
  12. 12CI/CD integration
  13. 13Windows and network automation overview

Capstone Projects

Capstone Capstone Project and Final Assessment 19 Lessons
  1. 01Configure static or dynamic inventory.
  2. 02Organize web, application and database groups.
  3. 03Configure SSH and privilege escalation.
  4. 04Install required packages.
  5. 05Create application users and directories.
  6. 06Use OS-specific facts and conditions.
  7. 07Generate configurations using Jinja2.
  8. 08Protect credentials using Ansible Vault.
  9. 09Create reusable roles.
  10. 10Configure services and handlers.
  11. 11Perform a rolling web-tier update.
  12. 12Add retries and error handling.
  13. 13Validate application endpoints.
  14. 14Run syntax and lint checks.
  15. 15Execute in check mode.
  16. 16Verify idempotency.
  17. 17Troubleshoot an intentionally failed deployment.
  18. 18Complete the final assessment.
  19. 19Remove temporary cloud resources.

Projects & Labs

Capstone Projects

Capstone Capstone Project and Final Assessment 19 Lessons
  1. 01Configure static or dynamic inventory.
  2. 02Organize web, application and database groups.
  3. 03Configure SSH and privilege escalation.
  4. 04Install required packages.
  5. 05Create application users and directories.
  6. 06Use OS-specific facts and conditions.
  7. 07Generate configurations using Jinja2.
  8. 08Protect credentials using Ansible Vault.
  9. 09Create reusable roles.
  10. 10Configure services and handlers.
  11. 11Perform a rolling web-tier update.
  12. 12Add retries and error handling.
  13. 13Validate application endpoints.
  14. 14Run syntax and lint checks.
  15. 15Execute in check mode.
  16. 16Verify idempotency.
  17. 17Troubleshoot an intentionally failed deployment.
  18. 18Complete the final assessment.
  19. 19Remove temporary cloud resources.

Instructor-led learning

Upcoming Live Batches

Choose from the currently published live batch schedules for this course.

Live batch

Ansible Complete Hands-on Course

Live Instructor-led

Accepting Enquiries

Start date
Dec 9, 2026
Repeats
Weekly
Days
Monday to Friday
Time
To be announced
Timezone
Asia/Kolkata

Announcement times use the timezone shown. Enquiry status does not confirm seat availability.

Ready to get started?

Take the next step in your learning journey.

Register your interest in Ansible Complete Hands-on Course.