The illustrations were created in cooperation between humans and artificial intelligence. They show a future in which technology is omnipresent, but people remain at the center.
AI-generated illustration

Ansible – Configuration Management and Automation

From Inventory and Playbooks to Roles, Vault, and AI Support

Online
2 days
German
Download PDF
€ 1.590,-
plus VAT.
€ 1.892,10
incl. VAT.
Booking number
43268
Venue
Online
1 appointment
€ 1.590,-
plus VAT.
€ 1.892,10
incl. VAT.
Booking number
43268
Venue
Online
1 appointment
Become a certified
Machine Learning Engineer
This course is part of the certified Master Class "Machine Learning Engineer". If you book the entire Master Class, you save over 15 percent compared to booking this individual module.
To the Master Class
In-house training
In-house training just for your employees - exclusive and effective.
Inquiries
In cooperation with
In cooperation with
ITech Progress
A Compact Introduction to Ansible for Admins and DevOps/Platform Engineers. Learn about Ansible playbooks, roles, variables, Vault, and automation through numerous hands-on labs. Also discover how AI can support day-to-day automation tasks.
Contents

1. Introduction to Ansible

  • What is Ansible, and why automation?
  • Architecture and Functionality
  • The Inventory System: Static & Dynamic
  • Hands-On: Installing Ansible and Establishing Your First SSH Connections

 

2. Ansible Basics

  • Configuration Files and Their Order
  • Ad-hoc Commands vs. Playbooks
  • Modules and Syntax Help
  • Practical Exercise: Ad Hoc Commands and First Tasks

 

3. Playbooks and Modules

  • YAML Basics and Common Mistakes
  • Structure and Process of Playbooks
  • Modules by Category: System, Network, Cloud, Windows
  • Practice Areas: File & Service Management, Security, User Administration

 

4. Variables and Facts

  • Defining and Using Variables
  • Facts and Recorded Variables 
  • Variable Hierarchy and Priority
  • Inclusions (include/import)
  • Practical Application: Displaying Facts, Testing Variables

 

5. Jinja2 Templates

  • Syntax, Expressions, Filters, and Tests
  • Lookup Plugins and Data Processing
  • Control Structures (if/for) and Whitespace Control
  • Practical Application: Template Creation and Dynamic Configuration

 

6. Loops in Ansible

  • Standard and Nested Loops
  • Iterating over lists, dictionaries, files, inventory, and number sequences
  • "until" for conditional loops
  • In Practice: Recurring Tasks and Targeted Analyses

 

7. Conditions and Error Handling

  • "when" clauses: Conditional execution of tasks
  • Handlers & Notify/Listen
  • Tags for Selective Execution
  • Block/Rescue/Always for robust error handling
  • Practical Application: Checking ACLs, Restarting Services, Handling Errors

 

8. Roles and Structure

  • Structure and Benefits of Rollers
  • pre-/post_tasks, dependencies, and Ansible Galaxy
  • Creating and Documenting Roles
  • Practical Application: Converting Playbooks to Roles, System Checks as a Role

 

9. Using AI Effectively and Safely in Everyday Ansible Workflows

  • Promting Rule
  • Create a Playook with AI
  • Review the AI-generated playbook
  • Improve the AI-generated Playook
  • Create Documentation with AI

 

10. Ansible Vault

  • Handling Sensitive Data
  • Encryption and Password Management
  • Vault IDs for Multiple Environments
  • Practical Application: Encrypting Variables and Using Them Safely

 

Requirements: 

  • Basic knowledge of IT system administration and working with the command line is required
  • Experience with SSH and text-based configuration files is a plus
  • No prior knowledge of Ansible or YAML is required
Learning environment
Your benefit
  • Installing and Configuring Ansible and Managing Inventories
  • Automating Recurring IT Tasks with Ansible
  • Safe Use of Playbooks and Variables
  • Creating Dynamic Configurations with Jinja2 Templates
  • Structuring Automations Using Roles and Handling Errors Reliably
  • Developing, Testing, and Documenting Playbooks Using AI, and Protecting Sensitive Data with Ansible Vault
trainers
No items found.
Methods

The course is structured as a workshop with theoretical introductions. Each chapter begins with an overview, followed by labs that the attendees complete on their own. The labs include the solutions so that the attendees can review them even after the course, as part of their self-study.

The labs are extensive and take about 3 hours a day in total.

Final examination
Recommended for
  • System and network administrators who want to automate recurring tasks
  • IT professionals and newcomers s in DevOps/Platform Engineering who are looking for a hands-on introduction to Ansible
  • Experienced administrators with experience in Shell, Bash, or PowerShell who want to standardize their automation processes
  • Teams that want to establish reproducible configurations and deployments
Start dates and details

Form of learning

Learning form

9.12.2026
Online
Places free
Implementation secured
Online
Places free
Implementation secured

The training is carried out in cooperation with an authorized training partner. This partner collects and processes data under its own responsibility. Please take note of the corresponding privacy policy.

No items found.
No items found.
*Mandatory fields

Do you have questions about training?

Call us on +49 761 595 33900 or write to us at service@haufe-akademie.de or use the contact form.

The illustrations were created in cooperation between humans and artificial intelligence. They show a future in which technology is omnipresent, but people remain at the center.
AI-generated illustration