Ansible Tutorials

Ansible provides a systematic approach to learning IT automation and configuration management. Our tutorials cover Ansible playbooks, roles, and modules, suitable for both beginners and experienced DevOps professionals. Through hands - on labs and real - world examples, you'll gain practical experience in automating infrastructure tasks. Our configuration management playground allows you to experiment with Ansible in a simulated environment.

Ansible Playbook Basics

Ansible Playbook Basics

Learn the fundamentals of Ansible playbooks in this hands-on lab. Learn to create your first playbook, understand playbook structure, and incorporate variables into your automation scripts. This step-by-step guide will equip you with essential skills for crafting effective Ansible playbooks, from basic task execution to dynamic variable usage.
Ansible
Ansible Roles

Ansible Roles

Learn Ansible Roles to organize and structure your Ansible code in a modular and reusable way. Learn to create, expand, use, and manage dependencies in Ansible Roles for efficient configuration management.
Ansible
Ansible Shell Module

Ansible Shell Module

In this lab, you will learn how to use the Ansible Shell module to execute shell commands on remote hosts. The Shell module is useful when you need to run shell commands that are not covered by existing Ansible modules or when you require more flexibility and control over the execution.
AnsibleShell
Ansible Script Module

Ansible Script Module

In this lab, you will learn how to use the Ansible Script module to execute custom scripts on remote hosts. The Script module allows you to run scripts written in any programming language on the target hosts, providing flexibility and customization options in your automation tasks.
AnsibleShell
Manage Multiple Ansible Inventories

Manage Multiple Ansible Inventories

In Ansible, managing multiple inventories can be a common scenario, especially in complex environments with different groups of hosts or separate environments. In this lab, you will learn how to work with multiple inventories in Ansible. You will learn how to define and organize multiple inventories, access hosts from different inventories, and perform operations across multiple inventories.
Ansible
Ansible Stat Module

Ansible Stat Module

In this lab, you will explore the Ansible Stat module, which allows you to gather information about files and directories on remote hosts. The Stat module provides various attributes and information, such as file size, ownership, permissions, and modification timestamps.
Ansible
Ansible Local Action Module

Ansible Local Action Module

Welcome to the Ansible Local Action Module Lab! In this lab, you will dive into the usage of the Ansible Local Action module. The Local Action module allows you to run tasks on the control machine where Ansible is being executed. This is useful when you need to perform operations locally, such as executing shell commands or running scripts.
AnsibleShell
Ansible Installation on Ubuntu

Ansible Installation on Ubuntu

Learn the installation of Ansible on Ubuntu with this hands-on lab. Learn to update system packages, install Ansible, configure SSH for seamless automation, set up an Ansible inventory, and test connectivity. This step-by-step guide will equip you with essential skills to begin your journey with Ansible for efficient system management and automation.
AnsibleLinux
Ansible Jinja2 Templates

Ansible Jinja2 Templates

Learn Jinja2, the powerful templating engine used by Ansible, to create dynamic and flexible configurations for your infrastructure automation.
Ansible
Ansible Fetch Module

Ansible Fetch Module

Welcome to the Ansible Fetch Module Lab! In this lab, you will dive into the usage of the Ansible Fetch module. The Fetch module allows you to retrieve files from remote machines and copy them to the control machine where Ansible is being executed. This is useful when you need to collect specific files or artifacts from your managed hosts.
Ansible
Ansible get_url Module

Ansible get_url Module

In this lab, you will explore the Ansible get_url module, which allows you to download files from the internet and save them on remote hosts. The get_url module provides various options to customize the download process, including authentication, headers, and checksum verification.
Ansible
Ansible Groups Inventory

Ansible Groups Inventory

Learn Ansible inventory management in this hands-on lab. Learn to create and configure Ansible groups, set up SSH access, build basic inventories, group hosts effectively, create hierarchical structures, and assign variables to groups. This step-by-step guide will enhance your skills in Ansible infrastructure automation, from basic inventory creation to advanced group configurations.
Ansible
Ansible Cron Module

Ansible Cron Module

Welcome to the Ansible Cron Module Lab! In this lab, you will learn how to automate the scheduling of tasks using the Ansible Cron module. The lab consists of several steps, each building upon the previous one to gradually increase the complexity of managing cron jobs with Ansible. By the end of this lab, you will have a solid understanding of how to use the Ansible Cron module for scheduling tasks.
AnsibleLinux
Ansible File Module

Ansible File Module

In this lab, you will explore the Ansible File module, which allows you to manage files and directories on remote hosts. The File module provides a wide range of functionalities, such as creating, deleting, modifying permissions, and checking the existence of files and directories.
Ansible
Ansible Copy Module

Ansible Copy Module

In this lab, you will explore the Ansible Copy module, which allows you to copy files and directories to remote hosts. The Copy module provides a flexible and efficient way to transfer files as part of your Ansible automation tasks.
Ansible
Ansible Conditionals and Loops

Ansible Conditionals and Loops

Learn Ansible conditionals and loops to create more dynamic and efficient playbooks. Learn to use conditional statements for task execution control and implement various loop techniques for repetitive tasks automation.
Ansible
Ansible Configuration

Ansible Configuration

Learn Ansible configuration in this hands-on lab. Learn to understand default settings, create custom configuration files, and test your configurations. This step-by-step guide will equip you with essential skills for customizing Ansible's behavior, from viewing default configurations to implementing and testing your own custom settings.
AnsibleLinux
Ansible Group Variables

Ansible Group Variables

In Ansible, group variables allow you to define variables that apply to an entire group of hosts. Group variables provide a way to customize the behavior of Ansible for specific groups of hosts and can be used to configure common settings or parameters. In this challenge, you will learn how to define and use group variables in your Ansible inventory.
Ansible
  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 19
  • Next