DevOps and Platform Engineering

Ansible Training Online: Live, Hands-On Automation Course

Live, instructor-led Ansible training online: playbooks, roles, Vault, testing and automation at scale, with hands-on labs and a free demo class.

  • ModeLive online, instructor-led
  • LevelBeginner to advanced
  • Learning styleHands-on labs and projects
  • ScheduleShared on enquiry
  • Open toLearners in the US, UK and worldwide

About this Ansible training course

This Ansible training online course teaches you to automate Linux servers, applications and cloud resources with playbooks you can read, review and run again safely. You learn in live, instructor-led classes and practise every topic in hands-on labs on your own machines, so the skills carry straight into real infrastructure work.

Ansible is an open source automation engine (ansible-core is licensed under GPL 3.0) that connects to managed nodes over SSH and needs no agent on them. We start with inventories, ad hoc commands and your first playbook, then move to variables, Jinja2 templates, handlers, roles, collections and Ansible Vault. Later modules cover quality and scale: ansible-lint, Molecule testing, execution environments built with ansible-builder, ansible-navigator and how Red Hat Ansible Automation Platform runs automation for teams.

Classes follow the current ansible-core release line and use fully qualified module names such as ansible.builtin.template, which many older courses skip. If you want a preview of the style, read our free Ansible playbook tutorial. Ansible pairs well with Terraform training for provisioning and Docker training for containers.

Why learn Ansible now

  • Configuration management is a core DevOps and platform engineering skill, and Ansible is one of the most widely listed automation tools in US and UK infrastructure job postings.
  • It is agentless: managed nodes only need SSH and Python, so you can automate existing servers without installing extra software on them.
  • Playbooks are plain YAML, which makes automation easy to review in pull requests and easy for operations, security and network teams to share.
  • The ansible-core project ships a new release about every six months, and current versions changed install advice (pipx), Python support and tooling, so up to date training saves you from outdated examples.
  • Red Hat certifications for Ansible are hands-on, performance based exams, which reward exactly the practical lab work this course is built around.

Who should enroll

  • Linux and Windows system administrators who want to stop doing repetitive manual changes
  • DevOps, cloud and platform engineers who manage fleets of servers or environments
  • Network engineers moving toward network automation
  • Developers who deploy and configure their own applications
  • Learners preparing for Red Hat Ansible exams such as EX294 or EX374

Prerequisites

You should be comfortable with the Linux command line: navigating files, editing text, using SSH and managing packages and services. No programming background is needed, although basic YAML familiarity helps. For labs you need a laptop (Linux, macOS, or Windows with WSL, because Windows is not supported as a native control node) plus 2 or 3 small Linux VMs from VirtualBox, a cloud free tier or containers. Ansible itself is open source, so no paid licence is needed for any lab.

Ansible course curriculum

  1. Module 1: Ansible foundations and setup

    Learn how Ansible works and set up a control node and lab inventory.

    • Agentless architecture
    • Control vs managed nodes
    • ansible vs ansible-core
    • pipx and pip install
    • ansible.cfg
  2. Module 2: Inventories and ad hoc commands

    Describe your hosts and run quick one-off tasks across them.

    • INI and YAML inventories
    • Groups and host variables
    • Inspecting inventories with ansible-inventory
    • Ping and setup modules
    • Privilege escalation with become
  3. Module 3: Writing playbooks

    Build readable, idempotent playbooks with plays, tasks and modules.

    • YAML syntax
    • Fully qualified collection names
    • Package, service, file and user modules
    • Check and diff mode
    • Reading the play recap
  4. Module 4: Variables, facts and templates

    Make playbooks reusable across environments with data and Jinja2.

    • group_vars and host_vars
    • Variable precedence
    • Gathered facts
    • Jinja2 templates and filters
    • Registered results
  5. Module 5: Control flow and error handling

    Handle real-world logic, change management and failures cleanly.

    • Conditionals with when
    • Loops
    • Handlers and notify
    • Blocks, rescue and always
    • Tags
  6. Module 6: Roles and collections

    Structure automation into reusable units and consume community content.

    • Role directory layout
    • ansible-galaxy role init
    • Role defaults vs vars
    • Installing collections
    • requirements.yml
  7. Module 7: Secrets with Ansible Vault

    Keep passwords, keys and tokens encrypted in version control.

    • ansible-vault create and edit
    • encrypt_string
    • Vault IDs
    • Password files
    • Safe secret handling
  8. Module 8: Quality and testing

    Catch problems before they reach production servers.

    • ansible-lint and profiles
    • Syntax checks
    • Molecule scenarios
    • Idempotence testing
    • CI pipelines
  9. Module 9: Automation at scale

    Run Ansible content consistently for teams.

    • Execution environments
    • ansible-builder
    • ansible-navigator
    • Ansible Automation Platform overview
    • Event-Driven Ansible concepts
  10. Module 10: Real-world automation patterns

    Apply Ansible to common operations work and plan your next steps.

    • Rolling updates with serial
    • Cloud and dynamic inventories
    • Network and Windows automation basics
    • Troubleshooting runs
    • Certification preparation

Hands-on Ansible projects

Web server fleet

Build a role that installs and configures nginx on several Linux hosts, publishes templated content and reloads the service only when its configuration changes.

Secure user and SSH baseline

Automate users, SSH keys, sudo rules and a firewall baseline, with secrets stored in Ansible Vault and the run verified in check and diff mode.

Tested role in a CI pipeline

Package a role with Molecule tests and ansible-lint, run them in a CI workflow and execute it inside an execution environment with ansible-navigator.

Skills you will gain

  • Write idempotent playbooks with fully qualified module names
  • Manage inventories, groups and variables across environments
  • Build reusable roles and use collections
  • Protect secrets with Ansible Vault
  • Test and lint automation before it runs
  • Package automation into execution environments
  • Troubleshoot failed tasks and unreachable hosts

Tools and technologies covered

  • ansible-core
  • Ansible community package
  • ansible-lint
  • Molecule
  • Ansible Vault
  • ansible-galaxy
  • ansible-builder
  • ansible-navigator
  • Jinja2
  • Git
  • Linux VMs
  • Ansible Automation Platform (overview)

Ansible certification guidance

Red Hat offers hands-on, performance based Ansible exams. Exam names and objectives change, so always check the current exam page on redhat.com before you book. We guide you on the path that fits your role:

  • EX294: the Red Hat exam for automating Red Hat Enterprise Linux system administration with Ansible, part of the RHCE path. Red Hat lists RHCSA level Linux skills as the expected starting point.
  • EX374: the exam for the Red Hat Certified Specialist in Developing Automation with Ansible Automation Platform credential, covering collections, execution environments, advanced inventories and automation controller.
  • Red Hat Certified Architect: both credentials can count toward Red Hat Certified Architect, according to Red Hat.

Ansible career paths

  • DevOps Engineer
  • Linux System Administrator
  • Platform Engineer
  • Site Reliability Engineer
  • Cloud Engineer
  • Network Automation Engineer

What employers look for

  • Playbooks and roles that are idempotent, readable and kept in Git
  • Comfort with Linux administration and SSH troubleshooting
  • Secrets handled with Vault or an external secret store, never in plain text
  • Testing habits: lint, check mode and Molecule
  • Experience pairing Ansible with Terraform, containers and CI/CD

How our live online Ansible training works

  1. Book a free demo

    Meet the trainer, see how classes run and ask about the Ansible syllabus before you enroll.

  2. Learn live with an instructor

    Interactive online classes where you can ask questions, share your screen and get feedback in real time.

  3. Practise in hands-on labs

    Every module includes guided exercises and project work so you build practical, job-ready skills.

  4. Prepare for certification

    Get guidance on the relevant certification path, exam topics and how to plan your preparation.

Classes are delivered live online, so you can join from the United States, the United Kingdom or anywhere else. Share your time zone when you enquire and we will suggest a suitable batch.

Ansible training FAQs

Is Ansible free to use?

Yes. ansible-core and the Ansible community package are open source (ansible-core uses the GPL 3.0 licence), so you can learn and use them without a paid licence. Red Hat Ansible Automation Platform is a separate subscription product, and we cover it only at an overview level.

Do I need programming experience for this Ansible course?

No. Playbooks are written in YAML and describe the state you want, so you do not need to code. Linux command line skills matter more, and we review the basics you need in the first module.

What do I need for the hands-on labs?

A laptop running Linux or macOS, or Windows with WSL, plus 2 or 3 small Linux VMs. You can use VirtualBox, containers or a cloud free tier. Everything we install is open source.

Can Ansible manage Windows servers?

Yes. Ansible manages Windows hosts with PowerShell based modules, and we include an introduction to Windows automation. The control node itself must run on Linux, macOS or WSL.

How is Ansible different from Terraform?

Terraform is mainly used to provision infrastructure and track it in state, while Ansible mainly configures servers and applications through playbooks. Many teams use both, and the course shows where each fits.

Does the course help with Red Hat Ansible certifications?

Yes. We map the labs to the published objectives of exams such as EX294 and EX374 and help you plan your preparation. Exams are booked directly with Red Hat.

Can I join this Ansible training from the US, UK or anywhere else?

Yes. Classes are live online, so you can join from the United States, the United Kingdom or any other country. Share your time zone when you enquire and we will suggest a suitable batch; schedules are shared on enquiry.

Free tutorials on Ansible

Enrolment questions

How do I enroll in the Ansible Training?

Fill in the enquiry form on this page and choose "Enroll in the course". Our team will contact you with the next batch schedule, the detailed curriculum and the enrolment steps.

Can I attend a demo before enrolling?

Yes. Choose "Attend a free demo" in the form and we will share the next available demo session, so you can meet the trainer and see how the course is taught before you commit.

Do you offer this course for teams?

Yes. Choose "Arrange corporate training" and tell us your team size and goals. We can tailor the curriculum, timings and lab environment to your organisation.

Enroll in the Ansible Training

Share your details and our team will contact you with the upcoming batch schedule, the full curriculum and the next steps to enroll.

  • Free demo session before you enroll
  • Curriculum matched to your experience level
  • Guidance on certification and interview preparation

Related DevOps and Platform Engineering courses

Browse all courses

WhatsApp