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.
Other Skill Trees
LinuxDevOpsCybersecurityAWSDevOps EngineerCybersecurity EngineerDevSecOpsKali LinuxRed Hat Enterprise LinuxRHCSA TrainingRHCE in Enterprise Linux TrainingLFCS TrainingShellGitCloudflareDockerKubernetesCKA TrainingCKAD TrainingCKS TrainingRHCE in Ansible TrainingJenkinsNmapWiresharkHydraCompTIADatabaseMySQLPostgreSQLRedisMongoDBSQLitePythonRustGolangJavaCC++Web DevelopmentData ScienceBig Data
Configure SSH Keys and Privilege Escalation
Generate an SSH key, authorize it for a managed user, configure inventory access, and validate become privilege escalation.
LinuxAnsible
Automate Storage and Mount Configuration
Use ansible.posix.mount to create, mount, and persist a safe tmpfs mount point.
Ansible
Build Static Inventories with Groups and Variables
Create a static inventory with groups, child groups, group variables, host variables, and a validation playbook.
Ansible
Writing Your First Playbook
In this lab, you will learn how to create your first Ansible playbook to configure a web server. You will define states using YAML syntax to install and start Nginx.
AnsibleLinux
Organizing with Roles
In this lab, you will learn how to scale up your Ansible automation by refactoring playbooks into structured Roles. You will initialize a role using Ansible Galaxy, define tasks within the role, and reference it in a master playbook.
AnsibleLinux
Create and Apply a Reusable Role
Build a simple role with defaults, tasks, and a template, then apply it from a playbook.
Ansible
Handle Failures with Blocks and Rescue
Use block, rescue, and always sections to recover from a controlled failure and verify the success path.
Ansible
Write Idempotent Playbooks with Common Modules
Use file, copy, and lineinfile to build an idempotent playbook and prove it with a second run.
Ansible
Create and Use Custom Facts
Install a local custom fact under /etc/ansible/facts.d and use ansible_local in a playbook.
Ansible
Configure ansible.cfg and Project Defaults
Create ansible.cfg, define project defaults, parse inventory, and run the first ad hoc Ansible checks.
Ansible
Installation and Inventory
In this lab, you will learn how to install Ansible on Ubuntu, generate SSH keys for authentication, and configure your first static inventory file to manage the localhost.
AnsibleLinux
Automate Security Settings Across Managed Nodes
Create a locked service account, root-owned security files, and evidence reports with Ansible.
Ansible
Automate Users, Files, and Scheduled Tasks
Create a service user, manage owned files, and install a cron job with Ansible.
Ansible
Deploy Baseline Files to Managed Nodes
Deploy baseline files to managed host aliases with group variables, templates, and copy tasks.
Ansible
Install Roles and Content Collections
Install a local role from a requirements file and inspect installed Ansible collection content.
Ansible
Configure ansible-navigator and Execution Environments
Configure ansible-navigator for stdout mode, inspect execution settings, and run a playbook through navigator.
Ansible
Automate Packages, Services, and Firewalls
Install httpd, manage its service state, and open the firewall using an Ansible playbook.
Ansible
Debug Variable Precedence Issues
Compare all, group, host, and extra variables to understand which value Ansible applies.
Ansible
- Prev
- 1
- 2
- 3
- 4
- 5
- 6
- ...
- 21
- Next